summaryrefslogtreecommitdiff
path: root/Master/bin/x86_64-linux/updmap
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-17 08:03:03 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-06-17 08:03:03 +0000
commit8f91f2f5b672415ee6884ba6db4918605ac353a4 (patch)
treee4c4bf42a5ddf3f2f9855cc1bbf0c0f6354ae034 /Master/bin/x86_64-linux/updmap
parentb13955adbcf185c9d1e2dd97b96c618c538653f1 (diff)
install binaries
git-svn-id: svn://tug.org/texlive/trunk@13777 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/x86_64-linux/updmap')
-rwxr-xr-xMaster/bin/x86_64-linux/updmap3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/bin/x86_64-linux/updmap b/Master/bin/x86_64-linux/updmap
index e09c817451b..a71378a01bc 100755
--- a/Master/bin/x86_64-linux/updmap
+++ b/Master/bin/x86_64-linux/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=