From 1b0110baea09e8be6bf2b171b8ac20e811eec5d2 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 14 Aug 2015 01:27:27 +0900 Subject: [PATCH] Avoid re-override of TMP ENVVAL --- profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile b/profile index 28bb627..02c046f 100755 --- a/profile +++ b/profile @@ -108,7 +108,7 @@ then export TMP=/tmp fi fi -export TMP="${TMP}/${USER}-tmp" +expr "$TMP" : ".*$USER-tmp" || export TMP="${TMP}/${USER}-tmp" export TEMP=$TMP export TMPDIR=$TMP test -d "$TMP" || mkdir -p "$TMP"