summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-25 13:14:09 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-25 13:14:09 +0200
commit77d1ee6feb94cafbe4c115be8c2c66fcd08fb7d4 (patch)
tree54b1c422ea6e18b093fc1cf266d7a0f6b8310e8c
parent372b9588600ef381655bce4146913720aff7dc97 (diff)
downloadjenkins.debian.net-77d1ee6feb94cafbe4c115be8c2c66fcd08fb7d4.tar.xz
improve/remove comment (bindmounting was removed here in de979cd73) and use predictable/readable path
-rwxr-xr-xbin/chroot-run.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index eb5ded73..05ede57e 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -105,12 +105,10 @@ EOF
chmod +x $CHROOT_TARGET/tmp/chroot-testrun
sudo chroot $CHROOT_TARGET /tmp/chroot-testrun
- # hack to get data out of the chroot (might be dropped when
- # haskell-package-plan uses schroot, which will bindmount the current
- # directory in the schroot)
+ # hack to get data out of the chroot, used by haskell-package-plan
if [ -e $CHROOT_TARGET/tmp/testrun/stats.csv ]
then
- cp -v $CHROOT_TARGET/tmp/testrun/stats.csv .
+ cp -v $CHROOT_TARGET/tmp/testrun/stats.csv $CURDIR
fi
}