Skip to content

Commit c588f24

Browse files
committed
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.
1 parent 5dbd54b commit c588f24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • steps/linux-headers-4.14.341-openela

steps/linux-headers-4.14.341-openela/pass1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ src_install() {
2727
# We "compile" the headers here because it is easier
2828
for d in include/uapi arch/x86/include/uapi; do
2929
cd "${d}"
30-
find . -type d -exec mkdir "${DESTDIR}${PREFIX}/include/{}" -p \;
30+
find . -type d -exec mkdir -p "${DESTDIR}${PREFIX}/include/{}" \;
3131
headers="$(find . -type f -name "*.h")"
3232
cd "${base_dir}"
3333
for h in ${headers}; do

0 commit comments

Comments
 (0)