quit early if we can't find the RetroArch repo

This commit is contained in:
Jon Maddox 2013-03-26 10:35:45 -04:00
parent 4b8b14daee
commit 41c790a3be

View File

@ -7,6 +7,12 @@ ROOT_DIR=$CORES_DIR/libretro-super
RARCH_DIR=$CORES_DIR/RetroArch RARCH_DIR=$CORES_DIR/RetroArch
RARCH_DIST_DIR=$RARCH_DIR/ios/modules RARCH_DIST_DIR=$RARCH_DIR/ios/modules
if [ ! -d "$RARCH_DIST_DIR" ]
then
echo "Can't find the RetroArch directory, quitting..."
exit 0
fi
export IOSSDK=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/ export IOSSDK=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/
if ! $SKIPFETCH ; then if ! $SKIPFETCH ; then