From d80aad38d413038f5fc788b5989d583883430405 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 9 Sep 2015 18:53:22 +0200 Subject: 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 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 -- cgit v1.2.3-70-g09d2