summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.
#