summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbackport/scripts/uninstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/backport/scripts/uninstall.sh b/backport/scripts/uninstall.sh
index 99f74ab1..1eb42b0b 100755
--- a/backport/scripts/uninstall.sh
+++ b/backport/scripts/uninstall.sh
@@ -11,7 +11,7 @@ else
fi
for driver in $(find ${BACKPORT_PWD} -type f -name *.ko); do
- mod_name=${KLIB}${KMODDIR}/${driver}${compr}
+ mod_name=${driver/${BACKPORT_PWD}/${KLIB}${KMODDIR}}${compr}
echo " uninstall" $mod_name
rm -f $mod_name
done