diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chroot_tester.sh | 2 | ||||
-rwxr-xr-x | bin/housekeeping.sh | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/chroot_tester.sh b/bin/chroot_tester.sh index dae4cacc..ab64c083 100755 --- a/bin/chroot_tester.sh +++ b/bin/chroot_tester.sh @@ -32,7 +32,7 @@ export DEBIAN_FRONTEND=noninteractive export LANG=C export http_proxy=$http_proxy" -export CHROOT_TARGET=$(mktemp -d -p /chroots/ $1.XXXXXXXXX) +export CHROOT_TARGET=$(mktemp -d -p /chroots/ chroot-tests-$1.XXXXXXXXX) export TMPFILE=$(mktemp -u) export CTMPFILE=$CHROOT_TARGET/$TMPFILE diff --git a/bin/housekeeping.sh b/bin/housekeeping.sh index 5236b5dc..eb0ced7e 100755 --- a/bin/housekeeping.sh +++ b/bin/housekeeping.sh @@ -15,14 +15,15 @@ echo vnstat echo -HOUSE=$(ls /chroots/) +CHROOT_PATTERN="/chroots/chroot-tests-*" +HOUSE=$(ls $CHROOT_PATTERN) if [ "$HOUSE" != "" ] ; then figlet "Warning:" echo echo "Probably manual cleanup needed:" echo echo "$ ls -la /chroots/" - ls -la /chroots/ + echo $HOUSE exit 1 fi |