summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-07 17:59:47 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-07 17:59:47 +0200
commit7eb9fff0e541ce80f67ccf8ab36f1ed6733a8edf (patch)
tree5b3db25458156e849b14193ab210d6dba7693950
parent272f32baacb25350b40ee9d93342c00e2de0e5f6 (diff)
downloadjenkins.debian.net-7eb9fff0e541ce80f67ccf8ab36f1ed6733a8edf.tar.xz
copy the complete workspace
-rwxr-xr-xbin/chroot-run.sh4
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