From 3c78ec69584866fda6458c0fb4be93dea14a0130 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 8 May 2008 08:16:38 +0000 Subject: fix spaces in dirs on unix git-svn-id: svn://tug.org/texlive/trunk@7933 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/tetex/ChangeLog | 5 +++++ Build/source/texk/tetex/tcfmgr | 4 ++-- Build/source/texk/tetex/updmap | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) (limited to 'Build') diff --git a/Build/source/texk/tetex/ChangeLog b/Build/source/texk/tetex/ChangeLog index 03f39b5b0c3..1739599864e 100644 --- a/Build/source/texk/tetex/ChangeLog +++ b/Build/source/texk/tetex/ChangeLog @@ -1,3 +1,8 @@ +2008-05-08 Norbert Preining + + * updmap, tcfmgr: quote various calls containing env variables + taken from texmf.cnf which could contain spaces + 2008-05-05 Karl Berry * texconfig (generate): remove this, now done in tlmgr. diff --git a/Build/source/texk/tetex/tcfmgr b/Build/source/texk/tetex/tcfmgr index fcbf45e520c..adb6046e9c1 100755 --- a/Build/source/texk/tetex/tcfmgr +++ b/Build/source/texk/tetex/tcfmgr @@ -28,14 +28,14 @@ abort() mktexupd() { setupMktexupd - $TFC_MKTEXUPD "$@" >&2 + "$TFC_MKTEXUPD" "$@" >&2 } # call mktexdir script, disable all features (to prevent sticky directories) mktexdir() { setupMktexDir - MT_FEATURES=none $TFC_MKTEXDIR "$@" >&2 + MT_FEATURES=none "$TFC_MKTEXDIR" "$@" >&2 } setupMap() diff --git a/Build/source/texk/tetex/updmap b/Build/source/texk/tetex/updmap index 9fc0a7f807b..98481931817 100755 --- a/Build/source/texk/tetex/updmap +++ b/Build/source/texk/tetex/updmap @@ -1345,7 +1345,7 @@ main() if test -n "$cfgmaint"; then if test -z "$cfgparam"; then - co=`$TEXMFMAIN/texconfig/tcfmgr --tmp $tmpdir --cmd co --file $cnfFileShort` + co=`"$TEXMFMAIN/texconfig/tcfmgr" --tmp $tmpdir --cmd co --file $cnfFileShort` test $? = 0 || cleanup 1 set x $co; shift id=$1; cnfFile=$3; orig=$4 @@ -1370,7 +1370,7 @@ main() unchanged=true if test -z "$cfgparam"; then - ci=`$TEXMFMAIN/texconfig/tcfmgr --tmp $tmpdir --cmd ci --id $id` + ci=`"$TEXMFMAIN/texconfig/tcfmgr" --tmp $tmpdir --cmd ci --id $id` test $? = 0 || cleanup 1 case "$ci" in "") : ;; -- cgit v1.2.3