summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2020-11-08 14:35:47 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2020-11-08 14:35:47 (EST)
commit4d5ec1e5a3f744397f421d7b78ac7746cb3ef5ec (patch)
tree18b51391492240b18d7b197114c386c27c42ac79
parent9099fdb50e8722a0eb77df040c84c83af8611109 (diff)
build: Add -p to mkdir
Fixes the following error introduced by commit 6e62f08: mkdir linux-libc-dev-4.19.data/usr/include/i686-linux-glibc mkdir: can't create directory 'linux-libc-dev-4.19.data/usr/include/i686-linux-glibc': No such file or directory
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index 0c8fb2a..ab44874 100755
--- a/build
+++ b/build
@@ -59,6 +59,6 @@ install: build
\( -name .install -o -name ..install.cmd \
-o -name .check -o -name ..check.cmd \) \
-a -exec rm -f '{}' ';'
- mkdir linux-libc-dev-$(VER).data/usr/include/$(OPK_HOST_ARCH)
+ mkdir -p linux-libc-dev-$(VER).data/usr/include/$(OPK_HOST_ARCH)
mv linux-libc-dev-common-$(VER).data/usr/include/asm \
linux-libc-dev-$(VER).data/usr/include/$(OPK_HOST_ARCH)/asm