Skip to content

Commit

Permalink
Fix build error when there are spaces path
Browse files Browse the repository at this point in the history
When running the Generator the path needs to be escaped otherwise the build fails when you have spaces in your project path.
  • Loading branch information
brentleyjones committed Mar 22, 2016
1 parent 7c6eb5e commit 7760848
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Decodable.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n cd ${SRCROOT}/Generator\n swift Generator.swift\nfi";
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n swift Generator.swift\nfi";
};
8F0062451C81F348007BCF48 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -531,7 +531,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n cd ${SRCROOT}/Generator\n swift Generator.swift\nfi";
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n swift Generator.swift\nfi";
};
8F0062461C81F350007BCF48 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -544,7 +544,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n cd ${SRCROOT}/Generator\n swift Generator.swift\nfi";
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n swift Generator.swift\nfi";
};
8F00624B1C81F6F1007BCF48 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -557,7 +557,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n cd ${SRCROOT}/Generator\n swift Generator.swift\nfi";
shellScript = "if [ -z \"$CI\" ]; then\n cd \"${SRCROOT}/Generator\"\n swift Generator.swift\nfi";
};
/* End PBXShellScriptBuildPhase section */

Expand Down

0 comments on commit 7760848

Please sign in to comment.