Skip to content

Commit 7cc0619

Browse files
committed
Handle DKMS using slash to separate module version
Handle DKMS changing to using forward slash '/' when separating the module name from the module version in `dkms status` output. Thank you, Alberto Fanjul and @uhuntu!
1 parent 59c72ae commit 7cc0619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ dkms_modules_uninstall: dkms_check
110110
dkms status $(DKMS_MODULES_NAME) | \
111111
while IFS=':' read -r modules status; do \
112112
echo "$$modules" | { \
113-
IFS=', ' read -r modules_name modules_version \
114-
kernel_version kernel_arch ignore; \
113+
IFS=',/ ' read -r modules_name modules_version \
114+
kernel_version kernel_arch ignore; \
115115
if [ -z "$$kernel_version" ]; then \
116116
dkms remove \
117117
"$$modules_name/$$modules_version" \

0 commit comments

Comments
 (0)