From e2a7756df6a69b1285382d47d185837b6a538e7f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 24 Jan 2011 00:38:34 +0000 Subject: try to check for empty result of tl-update-keywords. git-svn-id: svn://tug.org/texlive/trunk@21160 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-auto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3