diff options
-rwxr-xr-x | kmod.prov | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ if (/^srcversion:/) { } ' dkmslist=$(echo "$provideslist" | egrep '/usr/src/[^/]*/dkms.conf$') -[ -n "$dkmslist" ] && echo $dkmslist | while read d; do +[ -n "$dkmslist" ] && for d in $dkmslist; do VERSION=`sed -rne 's/^PACKAGE_VERSION="?([^"]+)"?$/\1/;T;p' $d` [ -z "$VERSION" ] && continue PACKAGE_NAME=`sed -rne 's/^PACKAGE_NAME="?([^"]+)"?$/\1/;T;p' $d` |