dkms.conf: ${kernel_version} should be ${kernelver}
authorIan Abbott <abbotti@mev.co.uk>
Tue, 26 Jun 2012 17:15:17 +0000 (18:15 +0100)
committerIan Abbott <abbotti@mev.co.uk>
Tue, 26 Jun 2012 17:15:17 +0000 (18:15 +0100)
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
dkms.conf

index 969e3c22dccc3da7b40f1a58a96176d0b01649de..c755ad6406045097e71fad897d970f348733da40 100644 (file)
--- a/dkms.conf
+++ b/dkms.conf
@@ -370,7 +370,7 @@ fi
 # PCMCIA driver modules
 # (Try and mimic checks done by configure script.)
 if grep -q '^CONFIG_PCMCIA=[ym]' ${kernel_source_dir}/.config 2>/dev/null &&
-  tr '\n' ' ' < /lib/modules/${kernel_version}/source/include/pcmcia/ds.h 2>/dev/null |
+  tr '\n' ' ' < /lib/modules/${kernelver}/source/include/pcmcia/ds.h 2>/dev/null |
     grep -q 'struct[[:space:]]\+pcmcia_driver[[:space:]]*{[^}]*probe' ; then
 BUILT_MODULE_NAME[$nn]="cb_das16_cs"
 BUILT_MODULE_LOCATION[$nn]="comedi/drivers/"