From 354c5470d8fca735c82165530beae642ed78feb0 Mon Sep 17 00:00:00 2001 From: Muhammad Bilal Date: Tue, 2 Aug 2016 15:58:06 +0000 Subject: [PATCH] * fixinc.in: Use --parents option to make LIB directory. From-SVN: r238990 --- fixincludes/ChangeLog | 4 ++++ fixincludes/fixinc.in | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 }