diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-03-21 14:40:07 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-03-21 14:40:07 +0000 |
commit | 86c756ee6f056328a39127f60560f00a7fde7cb3 (patch) | |
tree | 714d10ec9f10b151b62345a5e22f68858d154f6e /Master/tl-portable.sh | |
parent | e00da5b615d20b87901c7faf820c489912f78870 (diff) |
tl-portable.[sh|bat] now bails out if install-tl fails.
git-svn-id: svn://tug.org/texlive/trunk@7060 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tl-portable.sh')
-rwxr-xr-x | Master/tl-portable.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/Master/tl-portable.sh b/Master/tl-portable.sh index b8d0658725c..d8b11e8011f 100755 --- a/Master/tl-portable.sh +++ b/Master/tl-portable.sh @@ -56,11 +56,14 @@ elif test ! -d $TEXDIR/bin/$platform; then exit 1 fi -$TEXDIR/install-tl.pl --portable +if $TEXDIR/install-tl.pl --portable; then :; else + echo Initialization of TeXLive failed! + exit 1 +fi -#; try to block initialization scripts and -# set custom prompt for secondary shell -# but I know of no good way to do this for the C shell. +# Try to block initialization scripts. +# Set custom prompt for secondary shell, but +# I know of no good way to do this for the C shell. if test "$SHELL" = /bin/bash; then TLARGS=--norc |