From: law Date: Tue, 2 Aug 2016 15:58:06 +0000 (+0000) Subject: * fixinc.in: Use --parents option to make LIB directory. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa6c06f5770c0a5c0018533ea57abaefa0e99153;p=thirdparty%2Fgcc.git * fixinc.in: Use --parents option to make LIB directory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238990 138bc75d-0d04-0410-961f-82ee72b054a4 --- 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 }