From 07f5d4d66313932f27d4294f2a996dc365f39fc4 Mon Sep 17 00:00:00 2001 From: Jacob Adams Date: Fri, 9 Oct 2020 03:07:10 +0000 Subject: [PATCH] Fix Linux modules uninstall A missing semicolon between kmoddir variable declaration and the uninstall for loop caused modules_uninstall-Linux to fail with: Syntax error: "do" unexpected Reviewed-by: Kjeld Schouten Reviewed-by: Brian Behlendorf Reviewed-by: Ryan Moeller Signed-off-by: Jacob Adams Closes #11032 --- module/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Makefile.in b/module/Makefile.in index ead4ff1360..0ee2c44722 100644 --- a/module/Makefile.in +++ b/module/Makefile.in @@ -96,7 +96,7 @@ modules_install: modules_install-@ac_system@ modules_uninstall-Linux: @# Uninstall the kernel modules - kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@ \ + kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \ for objdir in $(ZFS_MODULES); do \ $(RM) -R $$kmoddir/$(INSTALL_MOD_DIR)/$$objdir; \ done