also checkout -f here

This commit is contained in:
Rudolf Polzer 2010-08-14 02:47:43 +02:00
parent 6832c25d27
commit a4d69b979c

View File

@ -173,10 +173,10 @@ case "$1" in
git for-each-ref 'refs/remotes' | while read -r HASH TYPE REFNAME; do
git reset --hard
git clean -xfd
git checkout "$HASH"
git checkout -f "$HASH"
allmaps buildthemap "$REFNAME" "$HASH" "$url" "$bspoutdir"
done
git checkout master
git checkout -f master
;;
download)
mkdir -p "$bspdir" "$bspdir.old"