* fixinc.in: Use --parents option to make LIB directory.
authorMuhammad Bilal <mbilal@codesourcery.com>
Tue, 2 Aug 2016 15:58:06 +0000 (15:58 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 2 Aug 2016 15:58:06 +0000 (09:58 -0600)
From-SVN: r238990

fixincludes/ChangeLog
fixincludes/fixinc.in

index 957181d18164bdd3f87a8dd51626d838acb15611..0ab2118ca6734c07809ac28b7f09cf240c88b234 100644 (file)
@@ -1,3 +1,7 @@
+2016-08-01  Muhammad Bilal  <mbilal@codesourcery.com>
+
+       * fixinc.in: Use --parents option to make LIB directory.
+
 2016-06-21  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
 
        * mkfixinc.sh: Remove interix support.
index f7b8d8f1ee3bf820e242926e3e2dd3d08336f655..15cbaa235445f6e5caef27b0f1323bedbb887797 100755 (executable)
@@ -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
   }