From 3f3893e45f6f209fc1e5be6faa300cb68e2563ee Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Wed, 11 Feb 2026 21:49:03 +0100 Subject: [PATCH] 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. --- steps/linux-headers-4.14.341-openela/pass1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steps/linux-headers-4.14.341-openela/pass1.sh b/steps/linux-headers-4.14.341-openela/pass1.sh index 09ff7206..a80157fd 100755 --- a/steps/linux-headers-4.14.341-openela/pass1.sh +++ b/steps/linux-headers-4.14.341-openela/pass1.sh @@ -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