summaryrefslogtreecommitdiff
path: root/Master/bin/i386-solaris/updmap
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-06-22 23:38:25 +0000
committerKarl Berry <karl@freefriends.org>2009-06-22 23:38:25 +0000
commit5d14453a92523b94c856878a431d8bfc3cd2e143 (patch)
treee957a129ca6094d66853533d4fb75ac577ff46ab /Master/bin/i386-solaris/updmap
parent9693f6ba57c38e4078c099b5c6f3e25fbb6b58aa (diff)
i386-solaris (2.11, opensolaris) binaries from apostolos
git-svn-id: svn://tug.org/texlive/trunk@13898 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/bin/i386-solaris/updmap')
-rwxr-xr-xMaster/bin/i386-solaris/updmap3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/bin/i386-solaris/updmap b/Master/bin/i386-solaris/updmap
index e09c817451b..a71378a01bc 100755
--- a/Master/bin/i386-solaris/updmap
+++ b/Master/bin/i386-solaris/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=