diff options
Diffstat (limited to 'Build/source/texk')
-rwxr-xr-x | Build/source/texk/dvipng/dvipng.test | 10 | ||||
-rwxr-xr-x | Build/source/texk/web2c/ptexdir/sample.test | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/dvipng/dvipng.test b/Build/source/texk/dvipng/dvipng.test index 75c1c4afebf..52fd376b6be 100755 --- a/Build/source/texk/dvipng/dvipng.test +++ b/Build/source/texk/dvipng/dvipng.test @@ -3,20 +3,20 @@ # Public domain. Originally written by Peter Breitenlohner, 2009. get_val () { - res=$(kpsewhich "$@") || { echo "\"kpsewhich $@\" failed"; exit 77; } + res=`kpsewhich "$@"` || { echo "\"kpsewhich $@\" failed"; exit 77; } } get_val mktex.cnf -TEXMFCNF=$(dirname $res) +TEXMFCNF=`dirname $res` get_val psfonts.map -TEXFONTMAPS=$(dirname $(dirname $res))// +TEXFONTMAPS=`dirname \`dirname $res\``// get_val 8r.enc -ENCFONTS=$(dirname $(dirname $res))// +ENCFONTS=`dirname \`dirname $res\``// get_val --expand-var='$TEXMFMAIN' TEXMFMAIN=$res get_val --expand-var='$TEXMFDIST' TEXMFDIST=$res -TEXMFLOCAL=$(kpsewhich --expand-var='$TEXMFLOCAL') +TEXMFLOCAL=`kpsewhich --expand-var='$TEXMFLOCAL'` export TEXMFCNF TEXFONTMAPS ENCFONTS TEXMFMAIN TEXMFDIST TEXMFLOCAL diff --git a/Build/source/texk/web2c/ptexdir/sample.test b/Build/source/texk/web2c/ptexdir/sample.test index 7c91290461f..9a377607cba 100755 --- a/Build/source/texk/web2c/ptexdir/sample.test +++ b/Build/source/texk/web2c/ptexdir/sample.test @@ -11,6 +11,6 @@ tfmpath=`$KPSEWHICH cmbx10.tfm` || exit 77 testdir=$srcdir/ptexdir/tests TEXMFCNF=$srcdir/../kpathsea \ - TFMFONTS=$testdir:$(dirname $(dirname $(dirname $tfmpath)))// \ + TFMFONTS=$testdir:`dirname \`dirname \\\`dirname $tfmpath\\\`\``// \ ./pdvitype -show-opcodes $testdir/sample >tests/xsample.typ || exit 1 |