mirror of
https://github.com/libretro/libretro-super.git
synced 2024-06-02 19:38:30 -04:00
libretro-buildbot-recipe.sh: Minor cleanup.
This commit is contained in:
parent
32e07a844e
commit
c95175035e
|
@ -745,14 +745,12 @@ buildbot_pull(){
|
|||
else
|
||||
echo "cloning repo $URL..."
|
||||
cd $PARENTDIR
|
||||
if [ ! -z "$BRANCH" -a "${NAME}" == "retroarch" ]; then
|
||||
if [ "${BRANCH}" ] && [ "${NAME}" = "retroarch" ]; then
|
||||
git clone "$URL" "$DIR"
|
||||
cd $DIR
|
||||
git checkout "$BRANCH"
|
||||
elif [ ! -z "$GIT_BRANCH" ]; then
|
||||
git clone -b "$GIT_BRANCH" "$URL" "$DIR" --depth=1
|
||||
else
|
||||
git clone -b master "$URL" "$DIR" --depth=1
|
||||
git clone -b "${GIT_BRANCH:-master}" "$URL" "$DIR" --depth=1
|
||||
fi
|
||||
cd $WORK
|
||||
if [ "${TYPE}" = "PROJECT" ]; then
|
||||
|
|
Loading…
Reference in a new issue