diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-02 15:58:06 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-08-02 15:58:06 +0000 |
commit | fa6c06f5770c0a5c0018533ea57abaefa0e99153 (patch) | |
tree | 63bb456cc6b7e01a081d92ca53a2483c73dd07c4 /fixincludes | |
parent | 2200fb033ca7e2806750e8a83b8c7145b4d02dd1 (diff) | |
download | gcc-fa6c06f5770c0a5c0018533ea57abaefa0e99153.tar.gz |
* fixinc.in: Use --parents option to make LIB directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@238990 138bc75d-0d04-0410-961f-82ee72b054a4
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 957181d1816..0ab2118ca67 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 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 } |