summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-04-04 09:24:04 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-04-04 09:24:04 +0000
commitc442b444012f06bc46be80bd0aa1c4e431a8ff49 (patch)
tree08ae95d6c59674a24c5edacb54079bab33ef0656
parent2266ed3e9321b89c55ae8f6d30a55d1aabc0eace (diff)
tl-portable.sh: better bugfix.
git-svn-id: svn://tug.org/texlive/trunk@7315 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tl-portable.sh5
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.