From 9cb4e5873b8c936a0c7f9b2867f390e6319f8828 Mon Sep 17 00:00:00 2001 From: Hunt Lin Date: Wed, 3 Aug 2022 16:33:03 +0800 Subject: [PATCH] To fix dkms remove issue. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 3ae692b..9d9b038 100644 --- a/Makefile +++ b/Makefile @@ -110,15 +110,15 @@ dkms_modules_uninstall: dkms_check dkms status $(DKMS_MODULES_NAME) | \ while IFS=':' read -r modules status; do \ echo "$$modules" | { \ - IFS=', ' read -r modules_name modules_version \ + IFS=', ' read -r modules_name_modules_version \ kernel_version kernel_arch ignore; \ if [ -z "$$kernel_version" ]; then \ dkms remove \ - "$$modules_name/$$modules_version" \ + "$$modules_name_modules_version" \ --all; \ else \ dkms remove \ - "$$modules_name/$$modules_version" \ + "$$modules_name_modules_version" \ -k "$$kernel_version/$$kernel_arch"; \ fi; \ } \