linux-mod.eclass: fix use of variables for EAPI=7
authorThomas Deutschmann <whissi@gentoo.org>
Fri, 21 Sep 2018 11:30:50 +0000 (13:30 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Fri, 21 Sep 2018 12:14:58 +0000 (14:14 +0200)
commit62b702e95d6ec8597aa918f8bf6e280710728eae
tree522930eee03fd16956836a1ea8b2243556fcfcdc
parent7eead50f8f4cad6b8f9074c86c10276fca4cf71d
linux-mod.eclass: fix use of variables for EAPI=7

Since EAPI 7, variables like "D" no longer have a trailing slash.
However, linux-mod_pkg_preinst relied on a traling slash.

Due to that, any EAPI=7 ebuilds using linux-mod eclass to install
kernel modules didn't run DEPMOD and weren't added to MODULESDB.
eclass/linux-mod.eclass