From 2c6fcc7c6bbb301f7c2cee8359334a4f2dd3a118 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 25 Dec 2012 23:18:14 +0900 Subject: [PATCH] fix bug --- profile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/profile b/profile index 7f0cc87..b194e5c 100755 --- a/profile +++ b/profile @@ -33,11 +33,12 @@ export LD_LIBRARY_PATH="$HOME/.local/lib:$LD_LIBRARY_PATH" type setterm >/dev/null 2>&1 && setterm -blank 30 -powersave on # -powerdown 10 # in my environment powerdown does not work -if test -n $TMPDIR +if test -n "$TMPDIR" then export TMP=$TMPDIR else export TMP=/tmp/ +fi export TMP="${TMP}${USER}-tmp" export TEMP="$TMP" mkdir -p "$TMP"