summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-04-21 16:18:37 +0000
committerKarl Berry <karl@freefriends.org>2014-04-21 16:18:37 +0000
commitc97695ed944fbddb8bc71b7fce866ccb76722c0f (patch)
treeaabe7ce88684b3587e94d82870c3b4a39366b42f /Master/tlpkg/bin/tl-update-asy
parent8190539a77dcdb55300b32546398dce02d1db353 (diff)
sync
git-svn-id: svn://tug.org/texlive/trunk@33581 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-asy')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-asy10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/tlpkg/bin/tl-update-asy b/Master/tlpkg/bin/tl-update-asy
index a4eed40b30e..9dcc6b8effa 100755
--- a/Master/tlpkg/bin/tl-update-asy
+++ b/Master/tlpkg/bin/tl-update-asy
@@ -46,16 +46,18 @@ elif test "x$1" = x--build; then
# as a script, because it's so often necessary to redo.
set -e
PATH=/usr/bin:/bin:/sbin; export PATH # system gcc for sake of shared libs
- unset GREP_OPTIONS
+ svn=/usr/local/bin/svn # so we need our svn explicitly
+ unset GREP_OPTIONS CDPATH
+ set -x
cd /home/texlive/karl/Build/source/utils/asymptote
test -r dot.svn && mv dot.svn .svn
/usr/local/bin/svn update
/usr/local/bin/svn revert asy-keywords.el
- mv .svn dot.svn
+ test -r .svn && mv .svn dot.svn
if test -f Makefile; then
make clean
- svn revert doc/asy-latex.pdf
+ $svn revert doc/asy-latex.pdf
rm -f Makefile config.h config.log config.status errors.temp
rm -rf autom4te.cache
fi
@@ -64,7 +66,7 @@ elif test "x$1" = x--build; then
--enable-texlive-build --prefix=/tmp/ainst #CFLAGS=-g
nice make
make install-prebuilt
- mv dot.svn .svn
+ test -r dot.svn && mv dot.svn .svn
exit 0