From: Muhammad Bilal Date: Tue, 2 Aug 2016 15:58:06 +0000 (+0000) Subject: * fixinc.in: Use --parents option to make LIB directory. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=354c5470d8fca735c82165530beae642ed78feb0;p=gcc.git * fixinc.in: Use --parents option to make LIB directory. From-SVN: r238990 --- diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 957181d1816..0ab2118ca67 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -1,3 +1,7 @@ +2016-08-01 Muhammad Bilal + + * fixinc.in: Use --parents option to make LIB directory. + 2016-06-21 Trevor Saunders * mkfixinc.sh: Remove interix support. diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in index f7b8d8f1ee3..15cbaa23544 100755 --- a/fixincludes/fixinc.in +++ b/fixincludes/fixinc.in @@ -41,7 +41,7 @@ shift # Make sure it exists. if [ ! -d $LIB ]; then - mkdir $LIB || { + mkdir -p $LIB || { echo fixincludes: output dir '`'$LIB"' cannot be created" exit 1 }