diff options
author | Muhammad Bilal <mbilal@codesourcery.com> | 2016-08-02 15:58:06 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 2016-08-02 09:58:06 -0600 |
commit | 354c5470d8fca735c82165530beae642ed78feb0 (patch) | |
tree | 63bb456cc6b7e01a081d92ca53a2483c73dd07c4 /fixincludes | |
parent | 1f19ed02472dbd57652eb14e5c1c2dffca9de5e0 (diff) | |
download | gcc-354c5470d8fca735c82165530beae642ed78feb0.zip gcc-354c5470d8fca735c82165530beae642ed78feb0.tar.gz gcc-354c5470d8fca735c82165530beae642ed78feb0.tar.bz2 |
* fixinc.in: Use --parents option to make LIB directory.
From-SVN: r238990
Diffstat (limited to 'fixincludes')
-rw-r--r-- | fixincludes/ChangeLog | 4 | ||||
-rwxr-xr-x | fixincludes/fixinc.in | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog index 957181d..0ab2118 100644 --- a/fixincludes/ChangeLog +++ b/fixincludes/ChangeLog @@ -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. diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in index f7b8d8f..15cbaa2 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 } |