Selaa lähdekoodia

build(Makefile): find command's -delete option instead of xargs rm

Zaiming Shi 4 vuotta sitten
vanhempi
commit
9496c76fe8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -104,7 +104,7 @@ $(PROFILES:%=clean-%):
 		rm rebar.lock \
 		rm -rf _build/$(@:clean-%=%)/rel; \
 		find _build/$(@:clean-%=%) -name '*.beam' -o -name '*.so' -o -name '*.app' -o -name '*.appup' -o -name '*.o' -o -name '*.d' -type f | xargs rm -f; \
-		find _build/$(@:clean-%=%)  -type l | xargs rm -i -f ; \
+		find _build/$(@:clean-%=%)  -type l -delete; \
 	fi
 
 .PHONY: clean-all