Browse files

Quote variable used in build-step so it works even if path contains s…

…paces or shell-characters
  • Loading branch information...
1 parent 1db3fda commit 03de84c4156dc2ea0ac5b4036327eabe0b0144d1 @rfl-eqatec rfl-eqatec committed Oct 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 appledoc.xcodeproj/project.pbxproj
View
2 appledoc.xcodeproj/project.pbxproj
@@ -1263,7 +1263,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "#!/bin/bash\n\ncd Templates\nzip -r default_templates.zip .\nmv default_templates.zip $PROJECT_DIR\ncd ..";
+ shellScript = "#!/bin/bash\n\ncd Templates\nzip -r default_templates.zip .\nmv default_templates.zip \"$PROJECT_DIR\"\ncd ..";
};
B4D1FFF515FF637A009736E2 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;

0 comments on commit 03de84c

Please sign in to comment.