]> git.zndr.dk Git - dotfiles.git/commitdiff
Fix mkdir for OSX
authorJannik Zander <jannikz@gmail.com>
Thu, 26 May 2016 14:59:40 +0000 (16:59 +0200)
committerJannik Zander <jannikz@gmail.com>
Thu, 26 May 2016 14:59:54 +0000 (16:59 +0200)
.config/profile/rc/paths.sh

index 45a7adf21d23d42270facf9042266789bb3792e7..cdbf25c271dcfdc8e847fff2ba43ad37d65395cf 100644 (file)
@@ -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/"