aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2007-09-27 09:45:44 +0000
committerOlivier Blin <oblin@mandriva.com>2007-09-27 09:45:44 +0000
commitc52c7060fe1c72d55b6d8d846318ac73d069c8ce (patch)
tree2de898055999179bf332086d8812979e6fe7b81f
parentdc69d1c955d47105a2cf98268e3cc76f71bb5444 (diff)
downloadrpm-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
-rwxr-xr-xkmod.prov2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmod.prov b/kmod.prov
index 41f57eb..fc23948 100755
--- a/kmod.prov
+++ b/kmod.prov
@@ -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$')