diff options
-rwxr-xr-x | mbuto | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |