From 94c10b4536fc85f4412aca55f7deba68c622a9b0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 6 Aug 2013 23:28:35 +0000 Subject: also check reading a known envvar git-svn-id: svn://tug.org/texlive/trunk@31368 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/kpathsea/ChangeLog | 5 +++++ Build/source/texk/kpathsea/kpsewhich.test | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'Build/source/texk') 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 + + * kpsewhich.test: also check that we can read the environment + variable that we set. + 2013-07-07 TANAKA Takuji * 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 +# Copyright 2010-2013 Peter Breitenlohner # 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 -- cgit v1.2.3