Fix Xcode source tarball builds

Closes #5117
This commit is contained in:
Martin Hrubý (hrubymar10) 2020-09-03 10:48:30 +02:00
parent 10c60fd2e3
commit c48e176a1a
No known key found for this signature in database
GPG key ID: 3042E73421447651

View file

@ -4909,7 +4909,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "cd \"$SOURCE_ROOT/../..\"\n./utils/autorevision.sh -t h > src/revision.h\n";
shellScript = "cd \"${SOURCE_ROOT}/../..\"\n\n./utils/autorevision.sh -t h > src/revision.h 2>/dev/null || echo \"warning: Project is probably not under source control. Revision number may be incorrect.\"\n";
};
91C2A6EB1B843AA900346948 /* Copy Translations (if present) */ = {
isa = PBXShellScriptBuildPhase;