summaryrefslogtreecommitdiff
path: root/run-bootstrap-in-chroot
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-20 16:50:23 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-20 16:50:23 +0000
commitb8e1bc499f79283e3e718113c14f0efc26580d10 (patch)
tree925984baca81a57ab984809e1b8601dade5952d4 /run-bootstrap-in-chroot
parent41493547ab5c8ce2fd2eb160f607cd2c154f0a13 (diff)
downloadmorph-b8e1bc499f79283e3e718113c14f0efc26580d10.tar.gz
Fix copying of files into chroot to exclude snapshot tarballs
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-xrun-bootstrap-in-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot
index fcf24ad7..d0fa89f2 100755
--- a/run-bootstrap-in-chroot
+++ b/run-bootstrap-in-chroot
@@ -36,7 +36,7 @@ update_morph()
# The point is to be able to keep the working area for a bootstrap inside
# the morph source directory. This is useful for Jenkins jobs.
local base=$(basename $(basename "$dir"))
- find . -mindepth 1 -maxdepth 1 ! -name "$base" \
+ find . -mindepth 1 -maxdepth 1 ! -name "$base" ! -name '*.tar.gz' \
-exec cp -av '{}' "$dir/tree/baserock/gits/morph" ';'
}