changeset 4463:d1d5b665adc5

Don't assume .bashrc exists. :)
author Sam Lantinga <slouken@libsdl.org>
date Sun, 09 May 2010 19:51:21 -0700
parents 5cb6424a5676
children fa77a6429698
files Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj	Sun May 09 17:00:56 2010 -0700
+++ b/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj	Sun May 09 19:51:21 2010 -0700
@@ -1285,7 +1285,7 @@
 			);
 			runOnlyForDeploymentPostprocessing = 0;
 			shellPath = /bin/sh;
-			shellScript = "source ~/.bashrc\nsh ../../build-scripts/updaterev.sh";
+			shellScript = "if test -f ~/.bash_profile; then source ~/.bash_profile; fi\nif test -f ~/.bashrc; then source ~/.bashrc; fi\nsh ../../build-scripts/updaterev.sh";
 		};
 		FDB043B20E2689CC00F5B3F9 /* ShellScript */ = {
 			isa = PBXShellScriptBuildPhase;