summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/rebootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/rebootstrap.sh b/bin/rebootstrap.sh
index 1b7ef1ec..34cd0d63 100755
--- a/bin/rebootstrap.sh
+++ b/bin/rebootstrap.sh
@@ -8,12 +8,12 @@ DEBUG=true
common_init "$@"
cleanup_all() {
- rm -r $CODE
+ rm -r $CODE || true
}
CODE=$(mktemp --tmpdir=/tmp gitclone-XXXXXXXXX -u)
trap cleanup_all INT TERM EXIT
-git clone git://anonscm.debian.org/users/helmutg/rebootstrap.git --depth 1 $CODE
+git clone --depth 1 git://anonscm.debian.org/users/helmutg/rebootstrap.git $CODE
cd $CODE
git checkout $1
shift