kpsewhich now expects "-var-value" instead of "-var".
authorDavid Griffith <dave@661.org>
Wed, 27 Mar 2019 06:43:43 +0000 (23:43 -0700)
committerDavid Griffith <dave@661.org>
Wed, 27 Mar 2019 06:43:43 +0000 (23:43 -0700)
tools/install-emerald.sh
tools/uninstall-emerald.sh

index 79d09670178030cc29ed942bc6006dacc35ce227..bdecb19cfa95dddeb038db4e911ff2bd1c0cff2e 100755 (executable)
@@ -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..."
index c2a464003aabac288a38b293af1b95a053e2a401..096003bfb2b97ac9adeea65b2bc5851592531708 100755 (executable)
@@ -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..."