diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/chroot-run.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh index d4f6decd..eb5ded73 100755 --- a/bin/chroot-run.sh +++ b/bin/chroot-run.sh @@ -104,6 +104,14 @@ $@ 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) + if [ -e $CHROOT_TARGET/tmp/testrun/stats.csv ] + then + cp -v $CHROOT_TARGET/tmp/testrun/stats.csv . + fi } bootstrap |