From 8958a6c3600a8ee1db89dec16a170359725222e0 Mon Sep 17 00:00:00 2001 From: Emlyn Bolton <3941071+emlynmac@users.noreply.github.com> Date: Fri, 30 Jun 2023 08:42:15 -0700 Subject: [PATCH] Support spaces in the build scripts (#1530) --- .../AzureCommunicationCommon.xcodeproj/project.pbxproj | 3 +-- sdk/core/AzureCore/AzureCore.xcodeproj/project.pbxproj | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/sdk/communication/AzureCommunicationCommon/AzureCommunicationCommon.xcodeproj/project.pbxproj b/sdk/communication/AzureCommunicationCommon/AzureCommunicationCommon.xcodeproj/project.pbxproj index ad9b7b90f..659f454c2 100644 --- a/sdk/communication/AzureCommunicationCommon/AzureCommunicationCommon.xcodeproj/project.pbxproj +++ b/sdk/communication/AzureCommunicationCommon/AzureCommunicationCommon.xcodeproj/project.pbxproj @@ -333,7 +333,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "BUILD_PATH=$(pwd)\nROOT_PATH=$(pwd | rev | cut -d'/' -f4- | rev) \n$ROOT_PATH/eng/scripts/swiftlint.sh $BUILD_PATH\n"; + shellScript = "BUILD_PATH=$(pwd)\nROOT_PATH=$(pwd | rev | cut -d'/' -f4- | rev) \n\"$ROOT_PATH/eng/scripts/swiftlint.sh\" \"$BUILD_PATH\"\n"; }; 892BA074040FFB4A74C86592 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; @@ -394,7 +394,6 @@ F1540EBD25BF893C0056B087 /* CommunicationCloudEnvironment.swift in Sources */, 882F28D425A632CA009689E3 /* CommunicationTokenRefreshOptions.swift in Sources */, F183A5FE24AFF1B100F0E0D5 /* JwtTokenParser.swift in Sources */, - D112634825B7969B00F437C6 /* (null) in Sources */, D1A42CF825CCA1C100408C0F /* CommunicationTokenCredential.swift in Sources */, F183A5FA24AFB37900F0E0D5 /* StaticTokenCredential.swift in Sources */, ); diff --git a/sdk/core/AzureCore/AzureCore.xcodeproj/project.pbxproj b/sdk/core/AzureCore/AzureCore.xcodeproj/project.pbxproj index 0e6a061db..d916245e7 100644 --- a/sdk/core/AzureCore/AzureCore.xcodeproj/project.pbxproj +++ b/sdk/core/AzureCore/AzureCore.xcodeproj/project.pbxproj @@ -586,7 +586,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "BUILD_PATH=$(pwd)\nROOT_PATH=$(pwd | rev | cut -d'/' -f4- | rev) \n$ROOT_PATH/eng/scripts/swiftlint.sh $BUILD_PATH\n"; + shellScript = "BUILD_PATH=$(pwd)\nROOT_PATH=$(pwd | rev | cut -d'/' -f4- | rev) \n\"$ROOT_PATH/eng/scripts/swiftlint.sh\" \"$BUILD_PATH\"\n"; }; 5AD53F1266E88280F1D011F5 /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase;