From: Jannik ZANDER Date: Thu, 26 May 2016 10:10:49 +0000 (+0200) Subject: Remove warning when creating existing .tmp/ X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=9db647d17081ddb1e40780f045e95342ebe6a89b;p=dotfiles.git Remove warning when creating existing .tmp/ --- 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/"