diff options
Diffstat (limited to 'Master/tlpkg')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-auto | 13 |
1 files changed, 6 insertions, 7 deletions
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 |