summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-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
}