diff options
Diffstat (limited to 'Master/tlpkg/bin/tl-update-bindir')
-rwxr-xr-x | Master/tlpkg/bin/tl-update-bindir | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Master/tlpkg/bin/tl-update-bindir b/Master/tlpkg/bin/tl-update-bindir index 8fa253d38fe..747221afc58 100755 --- a/Master/tlpkg/bin/tl-update-bindir +++ b/Master/tlpkg/bin/tl-update-bindir @@ -96,6 +96,9 @@ for tlname in $tlnames; do powerpc-darwin|i386-darwin) default_bin_loc=/tmp/tl.$tlname.tar.gz $download http://www.uoregon.edu/~koch/$tlname.tar.gz -O $default_bin_loc;; + amd64-freebsd) + default_bin_loc=/tmp/tl.$tlname.tar.gz + $download http://www.witticism.org/temp/x86_64-fbsd7.tar.bz2 -O $default_bin_loc;; i386-freebsd) default_bin_loc=/home/manfred/tl2008.bin.tgj;; i386-linux) @@ -128,6 +131,11 @@ for tlname in $tlnames; do exit 1 fi + # may need to cd into a subdirectory, depending on how the tar was made. + if test `ls $srcdir | wc -l` = 1; then + srcdir=$srcdir/* + fi + # state of things. srcdir is full of the new binaries. (cd $destdir && ls) >$tmpdir/now (cd $srcdir && ls) >$tmpdir/new |