summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-02-01 00:42:10 +0000
committerKarl Berry <karl@freefriends.org>2009-02-01 00:42:10 +0000
commite5430f7cd742c8babdcf8617b924f5d4bb068f0a (patch)
tree1ce1b47e63b12657bb3fe5ff893e1a61b035a17a /Master
parent35f5e98507e00580559818c6221eb38deb7e5c1b (diff)
take config.{guess,sub} from a local directory,
and also get mkinstalldirs and other such infrastructure files. git-svn-id: svn://tug.org/texlive/trunk@12033 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-auto42
1 files changed, 17 insertions, 25 deletions
diff --git a/Master/tlpkg/bin/tl-update-auto b/Master/tlpkg/bin/tl-update-auto
index 4fa0de9c3ac..3dd1f046eb8 100755
--- a/Master/tlpkg/bin/tl-update-auto
+++ b/Master/tlpkg/bin/tl-update-auto
@@ -113,40 +113,32 @@ for basef in $files; do
done
fi
-# config.guess/sub from GNU.
+# config.guess/sub/etc. from elsewhere on tug.org, mirrored from GNU.
#
-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"
- # savannah git web interface is not operating
- url="http://tug.org/~karl/gnulib/build-aux/$gnuconf"
- 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
- #
- # 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
+config_masterdir=/home/ftp/dist/build-aux
+#
+for gnuconf in config.guess config.sub install-sh missing mkinstalldirs; do
+ master_conffile=$config_masterdir/$gnuconf
+ local_conffile=../Build/source/config/$gnuconf
#
- if $diff $gnuconffile $temp >$temp.$gnuconf.diff; then
+ if $diff $local_conffile $master_conffile >$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.
+ # updated needed. find all copies in source.
alldev="`find ../Build/source -name $gnuconf`"
for f in $alldev; do
- $chicken $cp $gnuconffile $f
+ $chicken $cp $master_conffile $f
done
update_list="$update_list $alldev"
+
+ # in the case of config.guess, but nothing else, we also need it in
+ # the installer.
+ if test $gnuconf = config.guess; then
+ installer_config_guess=tlpkg/installer/$gnuconf
+ $chicken $cp $master_conffile $installer_config_guess
+ update_list="$update_list $installer_config_guess"
+ fi
fi
done