Skip to content

Commit

Permalink
Support spaces in the build scripts (#1530)
Browse files Browse the repository at this point in the history
  • Loading branch information
emlynmac authored Jun 30, 2023
1 parent 1437334 commit 8958a6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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 */,
);
Expand Down
2 changes: 1 addition & 1 deletion sdk/core/AzureCore/AzureCore.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8958a6c

Please sign in to comment.