diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-09-27 09:45:44 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-09-27 09:45:44 +0000 |
commit | c52c7060fe1c72d55b6d8d846318ac73d069c8ce (patch) | |
tree | 2de898055999179bf332086d8812979e6fe7b81f /kmod.prov | |
parent | dc69d1c955d47105a2cf98268e3cc76f71bb5444 (diff) | |
download | rpm-setup-c52c7060fe1c72d55b6d8d846318ac73d069c8ce.tar rpm-setup-c52c7060fe1c72d55b6d8d846318ac73d069c8ce.tar.gz rpm-setup-c52c7060fe1c72d55b6d8d846318ac73d069c8ce.tar.bz2 rpm-setup-c52c7060fe1c72d55b6d8d846318ac73d069c8ce.tar.xz rpm-setup-c52c7060fe1c72d55b6d8d846318ac73d069c8ce.zip |
fix undefing ver
Diffstat (limited to 'kmod.prov')
-rwxr-xr-x | kmod.prov | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -8,7 +8,7 @@ $name = $1 if m!^filename:\s*(?:.*/)?([^/]+)\.k?o!; $ver = $1 if /^version:\s*[a-zA-Z]{0,6}\-?(\d+[\.\:\-\[\]]?\d*[\.\:\-\[\]]?\d*[\.\:\-\[\]]?\d*[\.\:\-\[\]]?\d*-?[a-zA-Z]{0,6}\d?).*/; if (/^vermagic:/) { print "kmod\($name\) = $ver" if $name && $ver; - undef $name, $ver; + undef $name; undef $ver; } ' dkmslist=$(echo "$provideslist" | egrep '/usr/src/[^/]*/dkms.conf$') |