summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/chroot-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index 3103bc23..4193a5ca 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -81,7 +81,7 @@ trap cleanup INT TERM EXIT
run() {
sudo chroot $CHROOT_TARGET mkdir /testrun
- sudo mount --bind $CURDIR $CHROOT_TARGET/testrun
+ cp -r $CURDIR $CHROOT_TARGET/testrun
cat > $CHROOT_TARGET/tmp/chroot-testrun <<-EOF
$SCRIPT_HEADER
cd /testrun