diff options
author | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-04-04 09:24:04 +0000 |
---|---|---|
committer | Siep Kroonenberg <siepo@cybercomm.nl> | 2008-04-04 09:24:04 +0000 |
commit | c442b444012f06bc46be80bd0aa1c4e431a8ff49 (patch) | |
tree | 08ae95d6c59674a24c5edacb54079bab33ef0656 | |
parent | 2266ed3e9321b89c55ae8f6d30a55d1aabc0eace (diff) |
tl-portable.sh: better bugfix.
git-svn-id: svn://tug.org/texlive/trunk@7315 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-x | Master/tl-portable.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/tl-portable.sh b/Master/tl-portable.sh index 9cba24b23f8..f06a115840f 100755 --- a/Master/tl-portable.sh +++ b/Master/tl-portable.sh @@ -28,17 +28,20 @@ testfile=1 do testfile=`expr $testfile + 1` done echo Testing whether $TEXDIR is writable... - echo Hello >$TEXDIR/$testfile 2>/dev/null + touch $TEXDIR/$testfile 2>/dev/null if test -e $TEXDIR/$testfile; then rm $TEXDIR/$testfile + echo $TEXDIR is writable. tlwrite=$TEXDIR else + echo $TEXDIR is not writable. tlwrite=$HOME/.texlive2008 fi else tlwrite=$HOME/.texlive2008 fi export tlwrite +echo Using $tlwrite for generated files. # Use $TEXMFHOME for private data, # $TEXMFLOCAL for department- or workgroup data. |