From c442b444012f06bc46be80bd0aa1c4e431a8ff49 Mon Sep 17 00:00:00 2001 From: Siep Kroonenberg Date: Fri, 4 Apr 2008 09:24:04 +0000 Subject: tl-portable.sh: better bugfix. git-svn-id: svn://tug.org/texlive/trunk@7315 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tl-portable.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Master') 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. -- cgit v1.2.3