From eb0a22cffce193681953d38754ecfc306aa4464d Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Mon, 27 Aug 2012 22:21:00 +0200 Subject: [PATCH] Don't use "mkdir -p": very old systems don't support it ... Tested with Apple A/UX 3.1 --- sys/profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/profile b/sys/profile index f9275b4..88847b3 100644 --- a/sys/profile +++ b/sys/profile @@ -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" -- 2.39.2