fix dev build
This commit is contained in:
parent
3c5ac0438b
commit
aa0ec01aaf
|
@ -1032,9 +1032,9 @@ buildbot_pull(){
|
||||||
echo "cloning repo..."
|
echo "cloning repo..."
|
||||||
cd $PARENTDIR
|
cd $PARENTDIR
|
||||||
if [ ! -z "$BRANCH" ]; then
|
if [ ! -z "$BRANCH" ]; then
|
||||||
git clone "$URL" "$DIR" --depth=1
|
|
||||||
else
|
|
||||||
git clone -b "$BRANCH" "$URL" "$DIR"
|
git clone -b "$BRANCH" "$URL" "$DIR"
|
||||||
|
else
|
||||||
|
git clone "$URL" "$DIR" --depth=1
|
||||||
fi
|
fi
|
||||||
cd $WORK
|
cd $WORK
|
||||||
if [ "${TYPE}" = "PROJECT" ]; then
|
if [ "${TYPE}" = "PROJECT" ]; then
|
||||||
|
|
Loading…
Reference in New Issue