From 7eb9fff0e541ce80f67ccf8ab36f1ed6733a8edf Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Apr 2014 17:59:47 +0200 Subject: copy the complete workspace --- bin/chroot-run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh index 8f4a4888..03ac4203 100755 --- a/bin/chroot-run.sh +++ b/bin/chroot-run.sh @@ -80,8 +80,8 @@ cleanup() { trap cleanup INT TERM EXIT run() { - mkdir $CHROOT_TARGET/tmp/testrun - cp -r $CURDIR/* $CHROOT_TARGET/tmp/testrun + cp -r $CURDIR $CHROOT_TARGET/tmp/ + mv $CHROOT_TARGET/tmp/$(basename $CURDIR) $CHROOT_TARGET/tmp/testrun cat > $CHROOT_TARGET/tmp/chroot-testrun <<-EOF $SCRIPT_HEADER cd /tmp/testrun -- cgit v1.2.3-70-g09d2