From 4cdca3589e731d374c400e1c29443bbc3bc0535d Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Tue, 17 Nov 2026 15:21:40 +0100 Subject: [PATCH] do not accidentally delete src/ if not using INSTALL_LOCATION --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d616cd603..c029a9daf 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ modules_DEPEND_DIRS = src include $(TOP)/configure/RULES_TOP -UNINSTALL_DIRS += $(INSTALL_LOCATION)/src +UNINSTALL_DIRS += $(addsuffix /src,$(filter-out .,$(INSTALL_LOCATION))) copysrc: tar cf - --exclude-vcs --exclude-backups --exclude=O.* modules/*/src | tar xf - -C $(INSTALL_LOCATION)