diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-11 23:45:59 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-05-11 23:45:59 +0000 |
commit | 7967bff90705001d30d4076578caa6496645ad88 (patch) | |
tree | b660c6ec7f7a09cc49ab4743fed45b90a151e6f7 /gcc/fixproto | |
parent | 83c4aa3ecfad90ef745112ec4730bf7bc5d9bd44 (diff) | |
download | gcc-7967bff90705001d30d4076578caa6496645ad88.tar.gz |
* fixproto: Change "mkdir" calls to "mkdir -p"
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26894 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-x | gcc/fixproto | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixproto b/gcc/fixproto index b9f8e43f11b..03c8fddb435 100755 --- a/gcc/fixproto +++ b/gcc/fixproto @@ -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 |