aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xkmod.prov2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmod.prov b/kmod.prov
index 435d887..5e39538 100755
--- a/kmod.prov
+++ b/kmod.prov
@@ -19,7 +19,7 @@ dkmslist=$(echo "$provideslist" | egrep '/usr/src/[^/]*/dkms.conf$')
MODULES=`sed -rne 's/^BUILT_MODULE_NAME\[[0-9]+\]="?([^"]+)"?$/\1/;T;p' $d`
# default on PACKAGE_NAME if no BUILT_MODULE_NAME is specified
[ -z "$MODULES" ] && MODULES=$PACKAGE_NAME
- echo "$MODULES" | while read m; do
+ echo "$MODULES" | sed -re "s/\\\$PACKAGE_NAME/$PACKAGE_NAME/" | while read m; do
echo "kmod($m) = $VERSION"
done
done