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)