summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-images
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-05-19 23:04:18 +0000
committerKarl Berry <karl@freefriends.org>2017-05-19 23:04:18 +0000
commitba517f0c8b53592008fbc15c756f0fe9037053e0 (patch)
treef0529e906c1fa8ee9abeed42740e675ce11712d4 /Master/tlpkg/bin/tl-update-images
parent29cad23f8934d6696c75dc1ab23b062eb7b9b403 (diff)
(do_tar): exclude Work, inst, autom4te.cache for
source tarballs. git-svn-id: svn://tug.org/texlive/trunk@44438 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-images')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-images13
1 files changed, 9 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tl-update-images b/Master/tlpkg/bin/tl-update-images
index 947615aee75..ee8b729fab6 100755
--- a/Master/tlpkg/bin/tl-update-images
+++ b/Master/tlpkg/bin/tl-update-images
@@ -194,10 +194,15 @@ do_tar ()
#
compress=--xz
#
- excludes=--exclude-vcs
- for e in bibtex epstopdf jfontmaps; do # exclude "upstream" sources
- excludes="$excludes --exclude=extra/$e"
- done
+ excludes="--exclude-vcs"
+ if echo "$name" | grep 'source$' >/dev/null; then
+ # more excludes for source tarball.
+ excludes="$excludes --exclude=Work --exclude=inst"
+ excludes="$excludes --exclude=autom4te.cache"
+ for e in bibtex epstopdf jfontmaps; do # exclude "upstream" sources
+ excludes="$excludes --exclude=extra/$e"
+ done
+ fi
#
tar_common_opt="$verbose $compress $excludes"
#