From 36bb08a19ebde957dda260bb13a48091ed69ee09 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sun, 9 May 2010 19:51:21 -0700 Subject: [PATCH] Don't assume .bashrc exists. :) --- Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj b/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj index 3b3276d7a..9390f5939 100755 --- a/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj +++ b/Xcode-iPhoneOS/SDL/SDLiPhoneOS.xcodeproj/project.pbxproj @@ -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;