From: Jannik Zander Date: Thu, 26 May 2016 14:59:40 +0000 (+0200) Subject: Fix mkdir for OSX X-Git-Url: https://git.zndr.dk/?a=commitdiff_plain;h=984aad1a5f872dc285dff268f6054ee2becda633;p=dotfiles.git Fix mkdir for OSX --- diff --git a/.config/profile/rc/paths.sh b/.config/profile/rc/paths.sh index 45a7adf..cdbf25c 100644 --- a/.config/profile/rc/paths.sh +++ b/.config/profile/rc/paths.sh @@ -17,7 +17,7 @@ fi # Set PATH to temporary folders export TMPDIR="${HOME}/.tmp" export TEMPDIR="$TMPDIR" -mkdir --mode=700 "$TMPDIR" > /dev/null 2>&1 +mkdir -m700 "$TMPDIR" > /dev/null 2>&1 # Set PATH to PREFIX folders export PREFIX="${HOME}/.local/"