diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-20 16:50:23 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-03-20 16:50:23 +0000 |
commit | b8e1bc499f79283e3e718113c14f0efc26580d10 (patch) | |
tree | 925984baca81a57ab984809e1b8601dade5952d4 /run-bootstrap-in-chroot | |
parent | 41493547ab5c8ce2fd2eb160f607cd2c154f0a13 (diff) | |
download | morph-b8e1bc499f79283e3e718113c14f0efc26580d10.tar.gz |
Fix copying of files into chroot to exclude snapshot tarballs
Diffstat (limited to 'run-bootstrap-in-chroot')
-rwxr-xr-x | run-bootstrap-in-chroot | 2 |
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" ';' } |