summaryrefslogtreecommitdiff
path: root/Build/source/texk
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk')
-rw-r--r--Build/source/texk/kpathsea/ChangeLog5
-rwxr-xr-xBuild/source/texk/kpathsea/kpsewhich.test5
2 files changed, 8 insertions, 2 deletions
diff --git a/Build/source/texk/kpathsea/ChangeLog b/Build/source/texk/kpathsea/ChangeLog
index 2214f6a374d..a86834b3847 100644
--- a/Build/source/texk/kpathsea/ChangeLog
+++ b/Build/source/texk/kpathsea/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-07 Karl Berry <karl@tug.org>
+
+ * kpsewhich.test: also check that we can read the environment
+ variable that we set.
+
2013-07-07 TANAKA Takuji <KXD02663@nifty.ne.jp>
* knj.c and progname.c: Generalize the method to avoid the 0x5c problem
diff --git a/Build/source/texk/kpathsea/kpsewhich.test b/Build/source/texk/kpathsea/kpsewhich.test
index 4e7159ec9d2..b15f2b35400 100755
--- a/Build/source/texk/kpathsea/kpsewhich.test
+++ b/Build/source/texk/kpathsea/kpsewhich.test
@@ -1,11 +1,12 @@
#! /bin/sh
-
-# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
+# Copyright 2010-2013 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
TEXMFCNF=$srcdir
export TEXMFCNF
+./kpsewhich --var-value=TEXMFCNF || exit 1 # environment variable
+
./kpsewhich --var-value=TEXMFMAIN || exit 1
./kpsewhich --expand-var=\$TEXMFMAIN || exit 1