diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-09-09 18:53:22 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-09-09 18:53:22 +0200 |
commit | d80aad38d413038f5fc788b5989d583883430405 (patch) | |
tree | f9b5b90c08ec3cd7368b3f0db0a75ec40f332cd4 | |
parent | 1659748550c4efc445c95e5b70b455ea4666d39d (diff) | |
download | jenkins.debian.net-d80aad38d413038f5fc788b5989d583883430405.tar.xz |
reproducible: explain
-rwxr-xr-x | bin/schroot-create.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/schroot-create.sh b/bin/schroot-create.sh index e67cd28b..1027d67e 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 |