summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-10-11 15:37:51 +0000
committerKarl Berry <karl@freefriends.org>2009-10-11 15:37:51 +0000
commit3fe5bd4147a804310d28f7757f90481805314808 (patch)
tree1f28c9f34eee00db808d531a8f41d7d12acd410c /Master
parent8f98cbf70f41e4b2aefecc4792afaccca9c0e11d (diff)
don't try to svn add an empty list
git-svn-id: svn://tug.org/texlive/trunk@15768 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto13
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