diff options
author | Karl Berry <karl@freefriends.org> | 2008-11-10 01:32:54 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-11-10 01:32:54 +0000 |
commit | dca686d3e228a357fff8ea7b44ff4bc28b95a3c1 (patch) | |
tree | 62f6d19c316933622384447f99f5fa23737f9d05 /Master | |
parent | 18c8bceae201d76100dc3766e60731817266d6ac (diff) |
help message
git-svn-id: svn://tug.org/texlive/trunk@11241 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/tl-portable | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/Master/tl-portable b/Master/tl-portable index 47151860a77..feba0264816 100755 --- a/Master/tl-portable +++ b/Master/tl-portable @@ -1,8 +1,23 @@ #! /bin/sh +# $Id$ # Copyright 2008 Siep Kroonenberg. # You may freely use, modify and/or distribute this file. -#calculate TeXLive root +if test "x$1" = x--help; then + cat <<END_USAGE +Usage: tl-portable +Start a new subshell with the environment set so TeX Live +can be run with minimal impact on the host, that is, +run more or less directly from DVD or USB. + +For more, see the "Maximally portable" section in the TeX Live +documentation (http://tug.org/texlive). +END_USAGE + + exit 0 +fi + +#calculate TeX Live root #it appears that dirname isn't always available TEXDIR0=$0 TEXDIR=${TEXDIR0%/*} @@ -17,7 +32,7 @@ TEXDIR=`pwd` export TEXDIR cd $dirsave -# Test whether the TeXLive directory is writable. We need an actual +# Test whether the TeX Live directory is writable. We need an actual # write test, because network drives aren't always identified # correctly. We accept negatives at face value. @@ -81,7 +96,7 @@ elif test ! -d $TEXDIR/bin/$platform; then fi if $TEXDIR/install-tl --portable; then :; else - echo Initialization of TeXLive failed! + echo "$0: Initialization of TeX Live failed!" >&2 exit 1 fi |