aboutgitcode
diff options
context:
space:
mode:
-rwxr-xr-xmbuto4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbuto b/mbuto
index e8e4129..c643c9b 100755
--- a/mbuto
+++ b/mbuto
@@ -710,9 +710,9 @@ kmod_add() {
for __t in ${__f}; do
__t="$(${BASENAME} -- "${__t%*.ko}")"
if ${MODPROBE} -S "${KERNEL}" -d "${__d_opt}" -q \
- --show-depends -- "$(${BASENAME} -- "${__t}")"; then
+ --show-depends -- "$(${BASENAME} -- "${__t}")" >/dev/null; then
__src="$(${FIND} ${__find_path} -name "${__t}.ko")"
- __dst="${wd}/${__src##${MODDIR}}"
+ __dst="${wd}${__src##${MODDIR}}"
if ! "${DIFF}" "${__src}" "${__dst}" 2>/dev/null; then
"${MKDIR}" -p "$("${DIRNAME}" "${__dst}")"
"${CP}" -a "${__src}" "${__dst}"