summaryrefslogtreecommitdiff
path: root/fixincludes
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-02 15:58:06 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>2016-08-02 15:58:06 +0000
commitfa6c06f5770c0a5c0018533ea57abaefa0e99153 (patch)
tree63bb456cc6b7e01a081d92ca53a2483c73dd07c4 /fixincludes
parent2200fb033ca7e2806750e8a83b8c7145b4d02dd1 (diff)
downloadgcc-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/ChangeLog4
-rwxr-xr-xfixincludes/fixinc.in2
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
}