Skip to content

Commit 194a683

Browse files
committed
preserve permissions of Info.plist after build, fixes #15
1 parent f90ef9b commit 194a683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Mini vMac.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@
10401040
);
10411041
runOnlyForDeploymentPostprocessing = 0;
10421042
shellPath = /bin/sh;
1043-
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";
1043+
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\"";
10441044
};
10451045
28F8758E1D2936B5001E99EB /* Add capabilities to Info.plist */ = {
10461046
isa = PBXShellScriptBuildPhase;

0 commit comments

Comments
 (0)