steps/linux-headers-4.14.341-openela: Fix option ordering of mkdir -p

With a POSIX conforming getopt() options ends at first non-option,
so the -p has to be before the arguments.
This commit is contained in:
Haelwenn (lanodan) Monnier 2026-02-11 21:49:03 +01:00
parent 35c358fe5a
commit 3f3893e45f
No known key found for this signature in database

View file

@ -27,7 +27,7 @@ src_install() {
# We "compile" the headers here because it is easier
for d in include/uapi arch/x86/include/uapi; do
cd "${d}"
find . -type d -exec mkdir "${DESTDIR}${PREFIX}/include/{}" -p \;
find . -type d -exec mkdir -p "${DESTDIR}${PREFIX}/include/{}" \;
headers="$(find . -type f -name "*.h")"
cd "${base_dir}"
for h in ${headers}; do