aboutgitcode
diff options
context:
space:
mode:
authorSevinj Aghayeva <sevinj.aghayeva@gmail.com>2022-04-07 23:18:20 -0400
committerStefano Brivio <sbrivio@redhat.com>2022-04-08 07:47:37 +0200
commit69112103da2b8ff061d58b914df229d41c2edc5e (patch)
tree8ba944a240393a15f412b1296047bd8f92999acb
parent4ed0fd8d55b335d3de9ecc5f9bb78f34383fe055 (diff)
downloadmbuto-69112103da2b8ff061d58b914df229d41c2edc5e.tar
mbuto-69112103da2b8ff061d58b914df229d41c2edc5e.tar.gz
mbuto-69112103da2b8ff061d58b914df229d41c2edc5e.tar.bz2
mbuto-69112103da2b8ff061d58b914df229d41c2edc5e.tar.lz
mbuto-69112103da2b8ff061d58b914df229d41c2edc5e.tar.xz
mbuto-69112103da2b8ff061d58b914df229d41c2edc5e.tar.zst
mbuto-69112103da2b8ff061d58b914df229d41c2edc5e.zip
mbuto: remove redundant -d switch
with two -d switches no modprobe produces wrong output. Signed-off-by: Sevinj Aghayeva <sevinj.aghayeva@gmail.com>
-rwxr-xr-xmbuto4
1 files 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}}"