summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-auto
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-15 17:16:38 +0000
committerKarl Berry <karl@freefriends.org>2008-07-15 17:16:38 +0000
commit32f267d464b33c8412cc19d712367700b5b822ac (patch)
treef82ea87fc39dd656d2e9c8c1aac410e9cfeaeb08 /Master/tlpkg/bin/tl-update-auto
parentdbdb22b79bd3dc27f9f65f193a6fc50088d14b30 (diff)
update for 2008
git-svn-id: svn://tug.org/texlive/trunk@9581 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-auto')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto19
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto
index fa9d637b71b..7e99c7c0b23 100755
--- a/Master/tlpkg/bin/tl-update-auto
+++ b/Master/tlpkg/bin/tl-update-auto
@@ -34,7 +34,6 @@ else
update_list="$update_list README.EN"
fi
-
# modes.mf from elsewhere on tug.org.
#
modesmaster=/home/ftp/tex/modes.mf
@@ -107,28 +106,36 @@ for basef in $files; do
done
-# config.guess from GNU.
+# config.guess/sub from GNU.
#
-for gnuconf in config.guess; do
- url="http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/$gnuconf?rev=HEAD&content-type=text/plain"
+for gnuconf in config.guess config.sub; do
+ url="http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=$gnuconf;hb=HEAD"
wget -O $temp $url >$temp.2 2>&1
if test ! -s $temp; then
echo "$0: skipping, could not retrieve $gnuconf:" >&2
cat $temp.2
continue
fi
- gnuconffile=tlpkg/installer/$gnuconf
+ #
+ # we have no need for config.sub in the installer, so check elsewhere.
+ case $gnuconf in
+ config.guess) gnuconffile=tlpkg/installer/$gnuconf;;
+ config.sub) gnuconffile=../Build/source/config/config.sub;;
+ *) echo "$0: impossible $gnuconf" >&2; exit 1;;
+ esac
+ #
if $diff $gnuconffile $temp >$temp.$gnuconf.diff; then
echo " $gnuconf ok."
rm -f $temp
else
+ # redundant in the case of config.sub, but doesn't hurt.
$chicken $mv $temp $gnuconffile
update_list="$update_list $gnuconffile"
# find all copies in source.
alldev="`find ../Build/source -name $gnuconf`"
for f in $alldev; do
- $chicken $cp $gnuconf $f
+ $chicken $cp $gnuconffile $f
done
update_list="$update_list $alldev"
fi