diff options
author | Sevinj Aghayeva <sevinj.aghayeva@gmail.com> | 2022-04-07 23:18:20 -0400 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-04-08 07:47:37 +0200 |
commit | 69112103da2b8ff061d58b914df229d41c2edc5e (patch) | |
tree | 8ba944a240393a15f412b1296047bd8f92999acb | |
parent | 4ed0fd8d55b335d3de9ecc5f9bb78f34383fe055 (diff) | |
download | mbuto-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-x | mbuto | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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}}" |