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-Tag: basepoints/gcc-8~5320 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=354c5470d8fca735c82165530beae642ed78feb0;p=thirdparty%2Fgcc.git * fixinc.in: Use --parents option to make LIB directory. From-SVN: r238990 --- diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 957181d18164..0ab2118ca673 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 f7b8d8f1ee3b..15cbaa235445 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 }