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 <kjeld@schouten-lebbing.nl> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: Ryan Moeller <ryan@iXsystems.com> Signed-off-by: Jacob Adams <jacob@tookmund.com> Closes #11032
This commit is contained in:
parent
84cfe5d4f8
commit
07f5d4d663
|
@ -96,7 +96,7 @@ modules_install: modules_install-@ac_system@
|
||||||
|
|
||||||
modules_uninstall-Linux:
|
modules_uninstall-Linux:
|
||||||
@# Uninstall the kernel modules
|
@# 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 \
|
for objdir in $(ZFS_MODULES); do \
|
||||||
$(RM) -R $$kmoddir/$(INSTALL_MOD_DIR)/$$objdir; \
|
$(RM) -R $$kmoddir/$(INSTALL_MOD_DIR)/$$objdir; \
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue