* fixproto: Change "mkdir" calls to "mkdir -p"
authorJeffrey A Law <law@cygnus.com>
Tue, 11 May 1999 23:45:59 +0000 (23:45 +0000)
committerJeff Law <law@gcc.gnu.org>
Tue, 11 May 1999 23:45:59 +0000 (17:45 -0600)
From-SVN: r26894

gcc/ChangeLog
gcc/fixproto

index af3630e13aa9791eaab31fa119c0f6c592edb64a..74ea41b0f5b62624f9c63168726c274e4737da82 100644 (file)
@@ -1,5 +1,7 @@
 Tue May 11 23:55:49 1999  Jeffrey A Law  (law@cygnus.com)
 
+       * fixproto: Change "mkdir" calls to "mkdir -p"
+
        * fixinc/inclhack.def (io_def_quotes): Consistently allow multiple
        whitespace characters between the "define" and the name of the macro.
        * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
index b9f8e43f11b98ee73ed69ade7b97dd4c231593ba..03c8fddb435a64c86cb7f49b665bcff1ee9db30a 100755 (executable)
@@ -94,7 +94,7 @@ fi
 
 if [ \! -d $abs_target_dir ] ; then
   echo $progname\: creating directory $rel_target_dir
-  mkdir $abs_target_dir
+  mkdir -p $abs_target_dir
 fi
 
 echo $progname\: populating \`$rel_target_dir\'
@@ -175,7 +175,7 @@ for code in ALL STD ; do
 
       abs_target_subdir=${abs_target_dir}/${rel_source_subdir}
       if [ \! -d $abs_target_subdir ] ; then
-       if mkdir $abs_target_subdir ; then
+       if mkdir -p $abs_target_subdir ; then
          subdirs_made="$abs_target_subdir $subdirs_made"
        fi
       fi
@@ -202,7 +202,7 @@ for code in ALL STD ; do
              # Create the dir where this file will go when fixed.
              xxdir=`echo ./$file | sed -e 's|/[^/]*$||'`
              if [ \! -d $abs_target_subdir/$xxdir ] ; then
-               if mkdir $abs_target_subdir/$xxdir ; then
+               if mkdir -p $abs_target_subdir/$xxdir ; then
                  subdirs_made="$abs_target_subdir/$xxdir $subdirs_made"
                fi
              fi