summaryrefslogtreecommitdiff
path: root/Master/bin/universal-darwin/updmap
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-17 22:47:22 +0000
committerKarl Berry <karl@freefriends.org>2009-06-17 22:47:22 +0000
commitb9ac6af56b05088c2b518f50abea7e9fe9eb7c48 (patch)
tree3c61c572ed167983548da689386f120c5defe187 /Master/bin/universal-darwin/updmap
parenteca54d094ad6b9f8ace98afdd131707d273077c5 (diff)
universal-darwin executables from koch (16jun09)
git-svn-id: svn://tug.org/texlive/trunk@13792 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/universal-darwin/updmap')
-rwxr-xr-xMaster/bin/universal-darwin/updmap3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/bin/universal-darwin/updmap b/Master/bin/universal-darwin/updmap
index e09c817451b..a71378a01bc 100755
--- a/Master/bin/universal-darwin/updmap
+++ b/Master/bin/universal-darwin/updmap
@@ -774,7 +774,7 @@ cleanup()
{
rc=$1
$needsCleanup && test -n "$tmpdir" && test -d "$tmpdir" \
- && { cd / && rm -rf "$tmpdir"; }
+ && { cd $orig_pwd && rm -rf "$tmpdir"; }
(exit $rc); exit $rc
}
@@ -1323,6 +1323,7 @@ main()
link_cmd="ln -s"
copy_cmd="cp"
copy=false
+ orig_pwd=`pwd`
cfgparam=
outputdirparam=