summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-asy
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-09 18:33:17 +0000
committerKarl Berry <karl@freefriends.org>2010-05-09 18:33:17 +0000
commit592f6c1025a3bd9075f1ed9396b48bdf3c79cbad (patch)
tree124ea4717d9bfa886d7a00430dd91b8329e57d68 /Master/tlpkg/bin/tl-update-asy
parent8cff2e59adcb8778a74d43a16ce8ad8f1b30ebed (diff)
rename
git-svn-id: svn://tug.org/texlive/trunk@18167 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-asy')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-asy17
1 files changed, 10 insertions, 7 deletions
diff --git a/Master/tlpkg/bin/tl-update-asy b/Master/tlpkg/bin/tl-update-asy
index dd0b173005b..4f6b7cca463 100755
--- a/Master/tlpkg/bin/tl-update-asy
+++ b/Master/tlpkg/bin/tl-update-asy
@@ -9,29 +9,32 @@
# used will be there as a starting point.
#
# The script uses various paths and convenience variables that I define
-# for myself; feel free to peruse tug.org:~karl/.bash_login,
+# for myself; feel free to peruse tug.org:~karl/.bash_login, etc.
# --karl
test "x$1" = x--build || exit 1
-ver=1.93
+ver=1.94 # the new version, that is.
#
if false && $update_sources_from_ctan; then
# this part is about copying the sources from CTAN to TL.
cd $B/source/utils/
edit README for asymptote$ver
- (cd asymptote && make distclean) # be sure no dregs
+ (cd asymptote && make distclean && sat) # be sure no dregs
\cp -arf /home/ftp/tex-archive/graphics/asymptote/ .
cd asymptote
# get list of new files to add:
- svn status | sed -n 's/^\?//p | fgrep -v binaries'
+ svn status | sed -n 's/^\?//p' | fgrep -v binaries
svn add ...
# get list of files to remove:
diff -qr . /home/ftp/tex-archive/graphics/asymptote/ | egrep -v '\.svn|gc-'
svn rm ...
+
+ # final check and commit:
+ svn status
svn commit -m"asy $ver" . ../README
exit $?
@@ -39,8 +42,8 @@ if false && $update_sources_from_ctan; then
elif test "x$1" = x--build; then
# this part is about building the i386-linux asymptote on tug.org.
# Despite all the dire warnings above, this part actually can be run
- # as a script, because it's so often necessary to run and rerun and
- # rerun the build.
+ # as a script, because it's so often necessary to run and rerun (and
+ # rerun) the build.
set -e
PATH=/usr/bin:/bin:/sbin; export PATH # system gcc for sake of shared libs
unset GREP_OPTIONS
@@ -61,7 +64,7 @@ elif test "x$1" = x--build; then
make install-prebuilt
strip /tmp/ainst/bin/asy
mv dot.svn .svn
- exit $?
+ exit 0
#