diff options
author | Karl Berry <karl@freefriends.org> | 2011-01-24 00:38:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-01-24 00:38:34 +0000 |
commit | e2a7756df6a69b1285382d47d185837b6a538e7f (patch) | |
tree | 08802c4780a387617a187ef868bd2d9d0a32c04d /Master/tlpkg/bin/tl-update-auto | |
parent | e3a07c6b3c77cb83eb47a68450217d96bd0e7b40 (diff) |
try to check for empty result of tl-update-keywords.
git-svn-id: svn://tug.org/texlive/trunk@21160 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-auto')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-auto | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto index 600440ae842..68eb87a50f7 100755 --- a/Master/tlpkg/bin/tl-update-auto +++ b/Master/tlpkg/bin/tl-update-auto @@ -234,7 +234,10 @@ $mydir/tl-update-keywords -input $cat_dump | tee $temp.keywords \ # keywordfile=texmf/scripts/texlive/var/texcatalogue.keywords grep -v '# Generated' $keywordfile >$temp.keywords.cur -if $diff $temp.keywords.cur $temp.keywords.new >$temp.keywords.diff; then +# +if test ! -s $temp.keywords.new; then + $verbose " $temp.keywords.new empty, skipping." +elif $diff $temp.keywords.cur $temp.keywords.new >$temp.keywords.diff; then $verbose " $keywordfile ok." else $chicken $cp $temp.keywords.new $keywordfile |