From 81deb40a92a715b3ef8037535806b01d4fe2f5fa Mon Sep 17 00:00:00 2001 From: David Griffith Date: Tue, 26 Mar 2019 23:43:43 -0700 Subject: [PATCH] kpsewhich now expects "-var-value" instead of "-var". --- tools/install-emerald.sh | 2 +- tools/uninstall-emerald.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/install-emerald.sh b/tools/install-emerald.sh index 79d0967..bdecb19 100755 --- a/tools/install-emerald.sh +++ b/tools/install-emerald.sh @@ -20,7 +20,7 @@ fi PERM=644 DPERM=755 PKGDIR="emerald" -TEXMFLOCAL=`kpsewhich -var TEXMFLOCAL` +TEXMFLOCAL=`kpsewhich -var-value TEXMFLOCAL` echo "Installing to $TEXMFLOCAL..." echo "Making directories..." diff --git a/tools/uninstall-emerald.sh b/tools/uninstall-emerald.sh index c2a4640..096003b 100755 --- a/tools/uninstall-emerald.sh +++ b/tools/uninstall-emerald.sh @@ -11,7 +11,7 @@ if [ `ps -o uid= $$` -ne 0 ] ; then exit 1 fi -TEXMFLOCAL=`kpsewhich -var TEXMFLOCAL` +TEXMFLOCAL=`kpsewhich -var-value TEXMFLOCAL` echo "Deleting emerald from $TEXMFLOCAL..." -- 2.31.1