diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-07 17:59:47 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-07 17:59:47 +0200 |
commit | 7eb9fff0e541ce80f67ccf8ab36f1ed6733a8edf (patch) | |
tree | 5b3db25458156e849b14193ab210d6dba7693950 | |
parent | 272f32baacb25350b40ee9d93342c00e2de0e5f6 (diff) | |
download | jenkins.debian.net-7eb9fff0e541ce80f67ccf8ab36f1ed6733a8edf.tar.xz |
copy the complete workspace
-rwxr-xr-x | bin/chroot-run.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |