diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-25 11:55:51 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-25 11:55:51 +0000 |
commit | 2f67bc3c3d471de2afa9187847e4181c7c39aaa7 (patch) | |
tree | 0ead2f5e055e55e52cbd2c83e1e0ee7b2f3e64e1 | |
parent | 6bc4f8cd2d3fa6b78b8bf91586b2b335e4d1591b (diff) | |
download | rpm-setup-2f67bc3c3d471de2afa9187847e4181c7c39aaa7.tar rpm-setup-2f67bc3c3d471de2afa9187847e4181c7c39aaa7.tar.gz rpm-setup-2f67bc3c3d471de2afa9187847e4181c7c39aaa7.tar.bz2 rpm-setup-2f67bc3c3d471de2afa9187847e4181c7c39aaa7.tar.xz rpm-setup-2f67bc3c3d471de2afa9187847e4181c7c39aaa7.zip |
substitute $PACKAGE_NAME in kmod() provides
-rwxr-xr-x | kmod.prov | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |