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