From 3fe5bd4147a804310d28f7757f90481805314808 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 11 Oct 2009 15:37:51 +0000 Subject: don't try to svn add an empty list git-svn-id: svn://tug.org/texlive/trunk@15768 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/bin/tl-update-auto | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'Master/tlpkg/bin') diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto index 4d6fdd7a28b..746569732f0 100755 --- a/Master/tlpkg/bin/tl-update-auto +++ b/Master/tlpkg/bin/tl-update-auto @@ -29,7 +29,7 @@ temp=/tmp/ua$$ trap "rm -f $temp*" 0 1 2 15 update_list= -svn_add_list= +add_list= # autogenerate README.EN from readme.html. # @@ -192,10 +192,9 @@ for script in texmf/scripts/texlive/tlmgr.pl install-tl; do done if test -z "$chicken" && $man_update; then - (cd $mandir && make) # remake pdfs, should do always but it's something - new_manpages=`svn status $mandir | sed -n 's/^? *//p'` - svn_add_list="$svn_addlist $new_manpages" + (cd $mandir && make) # remake pdfs, should do always but better than nothing update_list="$update_list $mandir" + add_list=`svn status $mandir | sed -n 's/^\? *//p'` fi fi # config_scripts_only @@ -222,9 +221,9 @@ status=0 if test -z "$update_list"; then echo "$0: nothing to update." else - if test -z "$svn_add_list"; then :; else - test x"$chicken" = xecho || echo "$0: svn adding $svn_add_list" - $chicken svn add $svn_add_list + if test -z "$add_list"; then :; else + test x"$chicken" = xecho || echo "$0: svn adding $add_list" + $chicken svn add $add_list fi test x"$chicken" = xecho || echo "$0: committing $update_list" $chicken svn commit --force-log -m$0 $update_list -- cgit v1.2.3