]> arthur.ath.cx Git - ConfigScripts.git/blobdiff - sys/profile
Don't use "mkdir -p": very old systems don't support it ...
[ConfigScripts.git] / sys / profile
index f9275b4a71fde3cf49f4615e9923533094c7e0a4..88847b3d11d607be959db6b2d4554a54d6a8b203 100644 (file)
@@ -113,7 +113,7 @@ fi
 
 # Setup some directories to use local storage (no NFS)
 [ -d "/usr/local/home/$USER" ] \
-       || mkdir -p "/usr/local/home/$USER" >/dev/null 2>&1
+       || ( mkdir /usr/local/home; mkdir "/usr/local/home/$USER" ) >/dev/null 2>&1
 if [ -w "/usr/local/home/$USER" ]; then
        export LOCAL_HOME="/usr/local/home/$USER"
        export CCACHE_DIR="$LOCAL_HOME/.ccache"