Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed bug #1102
Browse files Browse the repository at this point in the history
Check /usr/local/bin for hg before sourcing the user's bash settings
  • Loading branch information
slouken committed Jan 25, 2011
1 parent 0ca9f01 commit cc33ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Xcode/SDL/SDL.xcodeproj/project.pbxproj
Expand Up @@ -2292,7 +2292,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# The underlying scripts require calling hg to get revision info.\n# Since hg may not be in the standard Xcode path, I am sourcing .bashrc\n# But I don't know what to do if people are using other shells.\nif test -f ~/.bash_profile; then source ~/.bash_profile; fi\nif test -f ~/.bashrc; then source ~/.bashrc; fi\nsh ../../build-scripts/updaterev.sh\n";
shellScript = "# The official HG installer puts the binary in /usr/local/bin, so add that\n# to Xcode's path and see if the hg executable is found. Otherwise, source\n# the user's bash settings file as a last resort.\nPATH=$PATH:/usr/local/bin\nif ! which -s hg ; then\n if test -f ~/.bash_profile; then source ~/.bash_profile; fi\nfi\nsh ../../build-scripts/updaterev.sh\n";
};
0083103E1072EA5700A531F1 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
Expand Down

0 comments on commit cc33ffa

Please sign in to comment.