From 8f91f2f5b672415ee6884ba6db4918605ac353a4 Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Wed, 17 Jun 2009 08:03:03 +0000 Subject: install binaries git-svn-id: svn://tug.org/texlive/trunk@13777 c570f23f-e606-0410-a88d-b1316a301751 --- Master/bin/x86_64-linux/updmap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Master/bin/x86_64-linux/updmap') 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= -- cgit v1.2.3