fix a bug in the ./all script when checking out the DP repo

This commit is contained in:
Rudolf Polzer 2010-06-05 15:08:10 +02:00
parent 8dcc13e685
commit beeb2a3c59

4
all
View File

@ -233,7 +233,9 @@ case "$cmd" in
else
verbose git clone "$url" "$d0/$d"
enter "$d0/$d" verbose
verbose git checkout "$branch"
if [ "$branch" != "master" ]; then
verbose git checkout --track -b "$branch" origin/"$branch"
fi
cd "$d0"
fi
done