[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: explain
Holger Levsen
holger at moszumanska.debian.org
Wed Sep 9 16:53:58 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 d80aad38d413038f5fc788b5989d583883430405
Author: Holger Levsen <holger at layer-acht.org>
Date: Wed Sep 9 18:53:22 2015 +0200
reproducible: explain
---
bin/schroot-create.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh
index e67cd28..1027d67 100755
--- a/bin/schroot-create.sh
+++ b/bin/schroot-create.sh
@@ -196,9 +196,11 @@ trap - INT TERM EXIT
rand=$RANDOM
if [ -d $SCHROOT_BASE/"$TARGET" ]
then
+ echo "$(date -u ) - $SCHROOT_BASE/$TARGET exists, moving it away to $SCHROOT_BASE/$TARGET-$rand"
sudo mv $SCHROOT_BASE/"$TARGET" $SCHROOT_BASE/"$TARGET"-"$rand"
fi
+echo "$(date -u ) - renaming $CHROOT_TARGET to $SCHROOT_BASE/$TARGET"
sudo mv $CHROOT_TARGET $SCHROOT_BASE/"$TARGET"
if [ -d $SCHROOT_BASE/"$TARGET"-"$rand" ] ; then
--
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