From: Ian Abbott Date: Tue, 26 Jun 2012 17:15:17 +0000 (+0100) Subject: dkms.conf: ${kernel_version} should be ${kernelver} X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=af914e812150d9452ac3e57e911c728806c977a9;p=comedi.git dkms.conf: ${kernel_version} should be ${kernelver} Signed-off-by: Ian Abbott --- diff --git a/dkms.conf b/dkms.conf index 969e3c22..c755ad64 100644 --- 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/"