summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tl-update-tlcritical
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-09-24 09:18:07 +0000
committerNorbert Preining <preining@logic.at>2010-09-24 09:18:07 +0000
commitdd05fef654f9f439fb4ab27d06a7dfe96ba7808b (patch)
treefcdf855db514f616d6994aad1037938ec24e24ce /Master/tlpkg/bin/tl-update-tlcritical
parent1c5ecd7b2c06298a666b6a7469c25ff4e1b00676 (diff)
make sure TMPDIR is defined
git-svn-id: svn://tug.org/texlive/trunk@19872 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tl-update-tlcritical')
-rwxr-xr-xMaster/tlpkg/bin/tl-update-tlcritical5
1 files changed, 4 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tl-update-tlcritical b/Master/tlpkg/bin/tl-update-tlcritical
index 6a44cced3cb..ccd9c44982f 100755
--- a/Master/tlpkg/bin/tl-update-tlcritical
+++ b/Master/tlpkg/bin/tl-update-tlcritical
@@ -25,7 +25,10 @@ fi
mydir=`cd \`dirname $0\` && pwd`
PATH=$mydir:/usr/local/gnu/bin:/usr/local/bin:$PATH # sha256sum+makensis on tug
-cd ${TMPDIR-/tmp}
+
+TMPDIR=${TMPDIR-/tmp}
+
+cd $TMPDIR
# function to update one of recovery scripts (sh or exe) in tlcritical.
#