From eb66f7f09c54c39f52d6a288a317c4a185713c78 Mon Sep 17 00:00:00 2001 From: Yadd Date: Sun, 20 Feb 2022 07:15:43 +0100 Subject: [PATCH] Fix clean dist --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a71c726f9..17e9362d3 100644 --- a/Makefile +++ b/Makefile @@ -1091,7 +1091,7 @@ dist: clean @cp -pRH $$(find * -maxdepth 0|grep -v -e "lemonldap-ng-$(VERSION)") lemonldap-ng-$(VERSION) @find $$dir -name '*.bak' -delete @rm -rf lemonldap-ng-$(VERSION)/lemonldap-ng-$(VERSION) - @rm -rf `find lemonldap-ng-$(VERSION)/ -name node_modules` + @find lemonldap-ng-$(VERSION)/ -name node_modules -exec rm -rf '{}' \; @$(COMPRESS) lemonldap-ng-$(VERSION).$(COMPRESSSUFFIX) lemonldap-ng-$(VERSION) @rm -rf lemonldap-ng-$(VERSION)