aboutgitcode
diff options
context:
space:
mode:
-rwxr-xr-xmbuto6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbuto b/mbuto
index 6306d37..3884f5a 100755
--- a/mbuto
+++ b/mbuto
@@ -701,10 +701,10 @@ kmod_add() {
fi
for __t in $("${MODPROBE}" -S "${KERNEL}" -d "${__d_opt}" -q \
- --show-depends "$(${BASENAME} ${1})"); do
- __t="$(${BASENAME} "${__t%*.ko}")"
+ --show-depends -- "$(${BASENAME} -- ${1})"); do
+ __t="$(${BASENAME} -- "${__t%*.ko}")"
if ${MODPROBE} -S "${KERNEL}" -d "${__d_opt}" -q \
- --show-depends "$(${BASENAME} "${__t}")"; then
+ --show-depends -- "$(${BASENAME} -- "${__t}")"; then
__src="$(${FIND} ${__find_path} -name "${__t}.ko")"
__dst="${wd}/${__src##${MODDIR}}"
if ! "${DIFF}" "${__src}" "${__dst}" 2>/dev/null; then