Update libretro-buildbot-recipe.sh

This commit is contained in:
Andrés 2017-04-15 16:52:36 -05:00 committed by GitHub
parent d46d6bd6b6
commit 05d443042e

View File

@ -1103,8 +1103,10 @@ buildbot_pull(){
cd $PARENTDIR
if [ ! -z "$BRANCH" -a "${NAME}" == "retroarch" ]; then
git clone -b "$BRANCH" "$URL" "$DIR"
else
elif [ ! -z "$GIT_BRANCH" ]; then
git clone -b "$GIT_BRANCH" "$URL" "$DIR" --depth=1
else
git clone -b master "$URL" "$DIR" --depth=1
fi
cd $WORK
if [ "${TYPE}" = "PROJECT" ]; then