From 69112103da2b8ff061d58b914df229d41c2edc5e Mon Sep 17 00:00:00 2001 From: Sevinj Aghayeva Date: Thu, 7 Apr 2022 23:18:20 -0400 Subject: mbuto: remove redundant -d switch with two -d switches no modprobe produces wrong output. Signed-off-by: Sevinj Aghayeva --- mbuto | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbuto b/mbuto index 9a34b34..884a8bf 100755 --- a/mbuto +++ b/mbuto @@ -700,10 +700,10 @@ kmod_add() { __find_path="${MODDIR}/lib/modules" fi - for __t in $("${MODPROBE}" -S "${KERNEL}" -d "${__d_opt}" -q \ + for __t in $("${MODPROBE}" -S "${KERNEL}" "${__d_opt}" -q \ --show-depends "$(${BASENAME} ${1})"); do __t="$(${BASENAME} "${__t%*.ko}")" - if ${MODPROBE} -S "${KERNEL}" -d "${__d_opt}" -q \ + if ${MODPROBE} -S "${KERNEL}" "${__d_opt}" -q \ --show-depends "$(${BASENAME} "${__t}")"; then __src="$(${FIND} ${__find_path} -name "${__t}.ko")" __dst="${wd}/${__src##${MODDIR}}" -- cgit v1.2.3