summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-11-14 00:51:31 +0000
committerKarl Berry <karl@freefriends.org>2006-11-14 00:51:31 +0000
commitc23af5dc1b5e07e295f712b75b233553b6ee6859 (patch)
tree6d4c97831fb6ad538ab9bbb71802273f91f4d2c9
parente4f5a264ef4f06b38139e7ac161133c5361726fa (diff)
(init): use the envvar TEXLIVE_INSTALL_PREFIX to
override tex_prefix (/usr/local/texlive), and TEXLIVE_INSTALL_DIR to override TEXDIR ($tex_prefix/2006). git-svn-id: svn://tug.org/texlive/trunk@2432 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/common.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/common.sh b/Master/common.sh
index 316771779c0..1eb47a182c4 100755
--- a/Master/common.sh
+++ b/Master/common.sh
@@ -974,8 +974,8 @@ init()
find_tar
series_init
bindir=
- tex_prefix=${TEXLIVE_INSTALL_DIR-/usr/local/texlive}
- TEXDIR=$tex_prefix/2006 # manually update each year!
+ tex_prefix=${TEXLIVE_INSTALL_PREFIX-/usr/local/texlive}
+ TEXDIR=${TEXLIVE_INSTALL_DIR-$tex_prefix/2006} # manually update each year!
TEXMFSYSVAR=$TEXDIR/texmf-var
TEXMF=$TEXDIR/texmf
TEXMFLOCAL=$tex_prefix/texmf-local