[Qa-jenkins-scm] [jenkins.debian.net] 01/01: correct option
Holger Levsen
holger at moszumanska.debian.org
Tue Sep 1 21:55:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 4305dec2ec62140b728b089c4e8c4b20f87d7c68
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Sep 1 23:54:53 2015 +0200
correct option
---
bin/rebootstrap.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/rebootstrap.sh b/bin/rebootstrap.sh
index 1b7ef1e..34cd0d6 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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list