mirror of
https://github.com/zydeco/minivmac4ios.git
synced 2025-01-24 06:33:12 +00:00
preserve permissions of Info.plist after build, fixes #15
This commit is contained in:
parent
f90ef9b92f
commit
194a68362e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user