Update libretro-buildbot-recipe.sh

This commit is contained in:
Andrés 2017-04-15 18:33:30 -05:00 committed by GitHub
parent 2ffac75bc8
commit a900aca82c

View File

@ -1102,7 +1102,8 @@ buildbot_pull(){
echo "cloning repo $URL..."
cd $PARENTDIR
if [ ! -z "$BRANCH" -a "${NAME}" == "retroarch" ]; then
git clone -b "$BRANCH" "$URL" "$DIR"
git clone "$URL" "$DIR"
git checkout "$BRANCH"
elif [ ! -z "$GIT_BRANCH" ]; then
git clone -b "$GIT_BRANCH" "$URL" "$DIR" --depth=1
else