summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/web2c')
-rw-r--r--Build/source/texk/web2c/ChangeLog5
-rwxr-xr-xBuild/source/texk/web2c/dvicopy.test4
-rwxr-xr-xBuild/source/texk/web2c/dvitype.test4
-rw-r--r--Build/source/texk/web2c/mplibdir/ChangeLog4
-rwxr-xr-xBuild/source/texk/web2c/mplibdir/dvitomp.test4
-rw-r--r--Build/source/texk/web2c/ptexdir/ChangeLog5
-rwxr-xr-xBuild/source/texk/web2c/ptexdir/pdvitype.test4
-rwxr-xr-xBuild/source/texk/web2c/ptexdir/sample.test7
-rw-r--r--Build/source/texk/web2c/uptexdir/ChangeLog5
-rwxr-xr-xBuild/source/texk/web2c/uptexdir/updvitype.test4
10 files changed, 34 insertions, 12 deletions
diff --git a/Build/source/texk/web2c/ChangeLog b/Build/source/texk/web2c/ChangeLog
index d083ba3ec58..78125df7e8c 100644
--- a/Build/source/texk/web2c/ChangeLog
+++ b/Build/source/texk/web2c/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dvicopy.test, dvitype.test: Cope with spaces in paths returned
+ by kpsewhich.
+
2012-05-12 Werner Lemberg <wl@gnu.org>
* patgen.ch: Fixed a typo causing weave to fail.
diff --git a/Build/source/texk/web2c/dvicopy.test b/Build/source/texk/web2c/dvicopy.test
index 67825f804ad..272146802b2 100755
--- a/Build/source/texk/web2c/dvicopy.test
+++ b/Build/source/texk/web2c/dvicopy.test
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d tests || mkdir -p tests
@@ -8,7 +8,7 @@ test -d tests || mkdir -p tests
if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
TEXMFCNF=$srcdir/../kpathsea \
- TFMFONTS=`dirname $tfmpath` \
+ TFMFONTS=`dirname "$tfmpath"` \
./dvicopy $srcdir/tests/story tests/xstory.dvi || exit 1
fi
diff --git a/Build/source/texk/web2c/dvitype.test b/Build/source/texk/web2c/dvitype.test
index c6a6ced5540..be079c5c8b7 100755
--- a/Build/source/texk/web2c/dvitype.test
+++ b/Build/source/texk/web2c/dvitype.test
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2009, 2010 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d tests || mkdir -p tests
@@ -8,7 +8,7 @@ test -d tests || mkdir -p tests
if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
TEXMFCNF=$srcdir/../kpathsea \
- TFMFONTS=`dirname $tfmpath` \
+ TFMFONTS=`dirname "$tfmpath"` \
./dvitype -show-opcodes $srcdir/tests/story >tests/xstory.dvityp || exit 1
fi
diff --git a/Build/source/texk/web2c/mplibdir/ChangeLog b/Build/source/texk/web2c/mplibdir/ChangeLog
index 9f4da35fb28..0f7225b05e8 100644
--- a/Build/source/texk/web2c/mplibdir/ChangeLog
+++ b/Build/source/texk/web2c/mplibdir/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dvitomp.test: Cope with spaces in paths returned by kpsewhich.
+
2012-05-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* am/mplib.am (mpost_LDADD): Drop explicit '-lm'.
diff --git a/Build/source/texk/web2c/mplibdir/dvitomp.test b/Build/source/texk/web2c/mplibdir/dvitomp.test
index c2f91463f96..66acda45488 100755
--- a/Build/source/texk/web2c/mplibdir/dvitomp.test
+++ b/Build/source/texk/web2c/mplibdir/dvitomp.test
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2009 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2009-2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d tests || mkdir -p tests
@@ -8,7 +8,7 @@ test -d tests || mkdir -p tests
if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
TEXMFCNF=$srcdir/../kpathsea \
- TFMFONTS=`dirname $tfmpath` \
+ TFMFONTS=`dirname "$tfmpath"` \
./mpost --dvitomp $srcdir/tests/story.dvi tests/xstory.mpx || exit 1
fi
diff --git a/Build/source/texk/web2c/ptexdir/ChangeLog b/Build/source/texk/web2c/ptexdir/ChangeLog
index a7df7f65e05..c025b9843a7 100644
--- a/Build/source/texk/web2c/ptexdir/ChangeLog
+++ b/Build/source/texk/web2c/ptexdir/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * pdvitype.test, sample.test: Cope with spaces in paths returned
+ by kpsewhich.
+
2012-05-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* ptex-base.ch: Restore the 'unnecessary and seemingly wrong'
diff --git a/Build/source/texk/web2c/ptexdir/pdvitype.test b/Build/source/texk/web2c/ptexdir/pdvitype.test
index 602ed66ea96..86066c2b23e 100755
--- a/Build/source/texk/web2c/ptexdir/pdvitype.test
+++ b/Build/source/texk/web2c/ptexdir/pdvitype.test
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2010-2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d tests || mkdir -p tests
@@ -8,7 +8,7 @@ test -d tests || mkdir -p tests
if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
TEXMFCNF=$srcdir/../kpathsea \
- TFMFONTS=`dirname $tfmpath` \
+ TFMFONTS=`dirname "$tfmpath"` \
./pdvitype -show-opcodes $srcdir/tests/story >tests/xstory.dvityp || exit 1
fi
diff --git a/Build/source/texk/web2c/ptexdir/sample.test b/Build/source/texk/web2c/ptexdir/sample.test
index 9a377607cba..97cde057e01 100755
--- a/Build/source/texk/web2c/ptexdir/sample.test
+++ b/Build/source/texk/web2c/ptexdir/sample.test
@@ -1,16 +1,19 @@
#! /bin/sh
-# Copyright (C) 2010 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2010-2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d tests || mkdir -p tests
tfmpath=`$KPSEWHICH cmbx10.tfm` || exit 77
+tfmparent=`dirname "$tfmpath"`
+tfmgrandparent=`dirname "$tfmparent"`
+
# Test inputs
testdir=$srcdir/ptexdir/tests
TEXMFCNF=$srcdir/../kpathsea \
- TFMFONTS=$testdir:`dirname \`dirname \\\`dirname $tfmpath\\\`\``// \
+ TFMFONTS=$testdir:`dirname "$tfmgrandparent"`// \
./pdvitype -show-opcodes $testdir/sample >tests/xsample.typ || exit 1
diff --git a/Build/source/texk/web2c/uptexdir/ChangeLog b/Build/source/texk/web2c/uptexdir/ChangeLog
index 8dabb72557d..f6d734438d3 100644
--- a/Build/source/texk/web2c/uptexdir/ChangeLog
+++ b/Build/source/texk/web2c/uptexdir/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-22 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * updvitype.test: Cope with spaces in paths returned by
+ kpsewhich.
+
2012-05-12 Peter Breitenlohner <peb@mppmu.mpg.de>
* uptex-m.ch: Restore the 'unnecessary and seemingly wrong'
diff --git a/Build/source/texk/web2c/uptexdir/updvitype.test b/Build/source/texk/web2c/uptexdir/updvitype.test
index 4931fbdbe33..f5e970ed9e1 100755
--- a/Build/source/texk/web2c/uptexdir/updvitype.test
+++ b/Build/source/texk/web2c/uptexdir/updvitype.test
@@ -1,6 +1,6 @@
#! /bin/sh
-# Copyright (C) 2011 Peter Breitenlohner <tex-live@tug.org>
+# Copyright (C) 2011-2012 Peter Breitenlohner <tex-live@tug.org>
# You may freely use, modify and/or distribute this file.
test -d tests || mkdir -p tests
@@ -8,7 +8,7 @@ test -d tests || mkdir -p tests
if tfmpath=`$KPSEWHICH cmbx10.tfm`; then
TEXMFCNF=$srcdir/../kpathsea \
- TFMFONTS=`dirname $tfmpath` \
+ TFMFONTS=`dirname "$tfmpath"` \
./updvitype -show-opcodes $srcdir/tests/story >tests/xstory.dvityp || exit 1
fi