From d700af876cfaedf7f7e3c1ca917618e9ef683e3b Mon Sep 17 00:00:00 2001 From: radius Date: Fri, 25 Mar 2016 16:36:33 -0500 Subject: [PATCH] only use branch type for retroarch --- libretro-buildbot-recipe.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/libretro-buildbot-recipe.sh b/libretro-buildbot-recipe.sh index 5f8765ba..c3c13462 100755 --- a/libretro-buildbot-recipe.sh +++ b/libretro-buildbot-recipe.sh @@ -1002,10 +1002,6 @@ buildbot_pull(){ if [ -d "${PARENTDIR}/${DIR}/.git" ]; then cd $PARENTDIR cd $DIR - if [ ! -z "$BRANCH" ]; then - echo "checkout out branch... " - git checkout $BRANCH - fi echo "pulling changes from repo... " git reset --hard OUT=`git pull` @@ -1031,7 +1027,7 @@ buildbot_pull(){ else echo "cloning repo..." cd $PARENTDIR - if [ ! -z "$BRANCH" ]; then + if [ ! -z "$BRANCH" -a "${NAME}" == "retroarch" ]; then git clone -b "$BRANCH" "$URL" "$DIR" else git clone "$URL" "$DIR" --depth=1 @@ -1056,7 +1052,7 @@ buildbot_pull(){ echo echo RADIR=$RADIR done < $RECIPE.ra - cd $WORK + cd $WORK }