From 5c02519821dd3a81ddc501d838b0492d862aa2ec Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Wed, 28 Oct 2015 17:58:12 +0900 Subject: [PATCH] profile: Remove unsed stdout --- profile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profile b/profile index 02c046f..952c9aa 100755 --- a/profile +++ b/profile @@ -13,7 +13,7 @@ __safe_add_path_l(){ __safe_add_path_l "$HOME/.cabal/bin" __safe_add_path_l "$HOME/.local/lib/gems/bin" - __safe_add_path_l "$HOME/.local/bin" +__safe_add_path_l "$HOME/.local/bin" __safe_add_path_l "$HOME/.gem/ruby/2.1.0/bin" __safe_add_path_r "/c/mingw/bin" __safe_add_path_r "/c/mingw/msys/1.0/bin" @@ -93,7 +93,6 @@ then export USER=$USERNAME fi - # set TMP, TEMP, TMPDIR if test -z "$TMP" @@ -108,7 +107,8 @@ then export TMP=/tmp fi fi -expr "$TMP" : ".*$USER-tmp" || export TMP="${TMP}/${USER}-tmp" + +expr "$TMP" : ".*$USER-tmp" >/dev/null || export TMP="${TMP}/${USER}-tmp" export TEMP=$TMP export TMPDIR=$TMP test -d "$TMP" || mkdir -p "$TMP"