From 77d1ee6feb94cafbe4c115be8c2c66fcd08fb7d4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 25 Apr 2014 13:14:09 +0200 Subject: improve/remove comment (bindmounting was removed here in de979cd73) and use predictable/readable path --- bin/chroot-run.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'bin/chroot-run.sh') 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 } -- cgit v1.2.3-54-g00ecf