From 4bb3568d5765dbc10175bc9e20d6c53d45484b74 Mon Sep 17 00:00:00 2001 From: orbea Date: Thu, 10 Jan 2019 23:24:52 -0800 Subject: [PATCH] Fix error code with xcodebuild. --- libretro-buildbot-recipe.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index 2606e465..bcca5249 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -821,12 +821,12 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then if [ "${METAL}" == "1" ]; then if [ "${METAL_QT}" == "1" ]; then - xcodebuild -project RetroArch_Metal.xcodeproj -target RetroArchQt -configuration Release | tee "$LOGFILE" + xcodebuild -project RetroArch_Metal.xcodeproj -target RetroArchQt -configuration Release &> "$LOGFILE" else - xcodebuild -project RetroArch_Metal.xcodeproj -target RetroArch -configuration Release | tee "$LOGFILE" + xcodebuild -project RetroArch_Metal.xcodeproj -target RetroArch -configuration Release &> "$LOGFILE" fi else - xcodebuild -project RetroArch.xcodeproj -target RetroArch -configuration Release | tee "$LOGFILE" + xcodebuild -project RetroArch.xcodeproj -target RetroArch -configuration Release &> "$LOGFILE" fi RET=$? @@ -837,7 +837,7 @@ if [ "${PLATFORM}" == "osx" ] && [ "${RA}" == "YES" ]; then fi if [ "${METAL}" != "1" ]; then - xcodebuild -project RetroArch.xcodeproj -target "RetroArch Cg" -configuration Release | tee $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_CG_${PLATFORM}.log + xcodebuild -project RetroArch.xcodeproj -target "RetroArch Cg" -configuration Release &> $TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_CG_${PLATFORM}.log RET=$? ERROR=$TMPDIR/log/${BOT}/${LOGDATE}/${LOGDATE}_RetroArch_CG_${PLATFORM}.log