summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2008-07-10 22:00:49 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2008-07-10 22:00:49 +0000
commita762b8354c3774e044dc2ee4fb26b2209dc58b84 (patch)
tree3a52aac9fd2ea51f29c6a6e2f1493c082b61f8ea
parent789f5a840389322c3cf0b9204ce7097b9c4a6aa4 (diff)
tl-portable: changes in naming; w32 and unix now both write to
~/.texlive2008 git-svn-id: svn://tug.org/texlive/trunk@9437 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tl-portable20
-rwxr-xr-xMaster/tl-portable.bat2
2 files changed, 11 insertions, 11 deletions
diff --git a/Master/tl-portable b/Master/tl-portable
index 2bb47d49142..b7926c7c00b 100755
--- a/Master/tl-portable
+++ b/Master/tl-portable
@@ -32,27 +32,27 @@ testfile=1
if test -e $TEXDIR/$testfile; then
rm $TEXDIR/$testfile
echo $TEXDIR is writable.
- tlwrite=$TEXDIR
+ TEXDIRW=$TEXDIR
else
echo $TEXDIR is not writable.
- tlwrite=$HOME/.texlive2008
+ TEXDIRW=$HOME/.texlive2008
fi
else
- tlwrite=$HOME/.texlive2008
+ TEXDIRW=$HOME/.texlive2008
fi
-export tlwrite
-echo Using $tlwrite for generated files.
+export TEXDIRW
+echo Using $TEXDIRW for generated files.
# Use $TEXMFHOME for private data,
# $TEXMFLOCAL for department- or workgroup data.
# It is allright if $TEXMFLOCAL does not exist.
-TEXMFSYSVAR=$tlwrite/texmf-var
+TEXMFSYSVAR=$TEXDIRW/texmf-var
if test -d $TEXDIR/texmf-var; then
TEXMFSYSVAR=$TEXDIR/texmf-var
fi
export TEXMFSYSVAR
-TEXMFSYSCONFIG=$tlwrite/texmf-config
+TEXMFSYSCONFIG=$TEXDIRW/texmf-config
if test -f $TEXDIR/texmf-config; then
TEXMFSYSCONFIG=$TEXDIR/texmf-config
fi
@@ -63,11 +63,11 @@ TEXMFDIST=$TEXDIR/texmf-dist
export TEXMFDIST
TEXMFLOCAL=$TEXDIR/texmf-local
export TEXMFLOCAL
-TEXMFHOME=$tlwrite/texmf-home
+TEXMFHOME=$TEXDIRW/texmf-home
export TEXMFHOME
-TEXMFVAR=$tlwrite/texmf-var
+TEXMFVAR=$TEXDIRW/texmf-var
export TEXMFVAR
-TEXMFCONFIG=$tlwrite/texmf-config
+TEXMFCONFIG=$TEXDIRW/texmf-config
export TEXMFCONFIG
platform=`$TEXDIR/install-tl --print-arch`
diff --git a/Master/tl-portable.bat b/Master/tl-portable.bat
index 222e1e5fe77..92e67546988 100755
--- a/Master/tl-portable.bat
+++ b/Master/tl-portable.bat
@@ -12,7 +12,7 @@ set tldrive=%~d0
cd %TEXDIR%
rem TEXDIR writable?
-set TEXDIRW=%USERPROFILE%\texlive2008\
+set TEXDIRW=%USERPROFILE%\.texlive2008\
del "%TEXDIR%tl_wrtest" 2>nul
echo Testing for write access %TEXDIR%...
echo Hello >"%TEXDIR%tl_wrtest"