diff options
author | Struan Donald <struan@exo.org.uk> | 2013-07-23 11:49:58 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-07-23 11:49:58 +0100 |
commit | 1cbe7e60df73bd03e2cc763ec6062b72a44f3fb3 (patch) | |
tree | 75fc6eef8b9dcf02b0bfa1cc7e8937bf03314a8d | |
parent | 89c8b656e2f6247047c87c70bbcf8c3c47f5a0cc (diff) |
handle iOS project having spaces in path name in build script
-rw-r--r-- | iPhone/FixMyStreet.xcodeproj/project.pbxproj | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iPhone/FixMyStreet.xcodeproj/project.pbxproj b/iPhone/FixMyStreet.xcodeproj/project.pbxproj index 1c2f28b..fb90cb8 100644 --- a/iPhone/FixMyStreet.xcodeproj/project.pbxproj +++ b/iPhone/FixMyStreet.xcodeproj/project.pbxproj @@ -415,8 +415,8 @@ outputPaths = ( ); runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "rsync -pvtrlL --cvs-exclude \\\n$PROJECT_DIR/../src* \\\n$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/www"; + shellPath = /bin/bash; + shellScript = "DIR_SRC=\"$PROJECT_DIR/../src\"\nDIR_DEST=\"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/www\"\nCOMMAND=(rsync -pvtrlL --cvs-exclude \"$DIR_SRC\" \"$DIR_DEST\")\n\n\"${COMMAND[@]}\""; }; 304B58A110DAC018002A0835 /* Touch www folder */ = { isa = PBXShellScriptBuildPhase; |