From 9db647d17081ddb1e40780f045e95342ebe6a89b Mon Sep 17 00:00:00 2001 From: Jannik ZANDER Date: Thu, 26 May 2016 12:10:49 +0200 Subject: [PATCH] Remove warning when creating existing .tmp/ --- .config/profile/rc/paths.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.config/profile/rc/paths.sh b/.config/profile/rc/paths.sh index 9c3e326..45a7adf 100644 --- a/.config/profile/rc/paths.sh +++ b/.config/profile/rc/paths.sh @@ -17,8 +17,7 @@ fi # Set PATH to temporary folders export TMPDIR="${HOME}/.tmp" export TEMPDIR="$TMPDIR" -mkdir "$TMPDIR" -chmod 700 "$TMPDIR" +mkdir --mode=700 "$TMPDIR" > /dev/null 2>&1 # Set PATH to PREFIX folders export PREFIX="${HOME}/.local/" -- 2.43.0