preserve permissions of Info.plist after build, fixes #15

This commit is contained in:
Jesús A. Álvarez 2016-11-19 00:16:52 +01:00
parent f90ef9b92f
commit 194a68362e
1 changed files with 1 additions and 1 deletions

View File

@ -1040,7 +1040,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "GIT=`which git`\nif [ \"$GIT\" -a -d .git ]; then\nGIT_VERSION=`$GIT describe --tags --always`\nelse\nGIT_VERSION=unknown\nfi\ndefaults write \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Info\" GitVersion -string $GIT_VERSION";
shellScript = "GIT=`which git`\nif [ \"$GIT\" -a -d .git ]; then\nGIT_VERSION=`$GIT describe --tags --always`\nelse\nGIT_VERSION=unknown\nfi\ndefaults write \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Info\" GitVersion -string $GIT_VERSION\nchmod 0644 \"$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Info.plist\"";
};
28F8758E1D2936B5001E99EB /* Add capabilities to Info.plist */ = {
isa = PBXShellScriptBuildPhase;