From 382462d6b41902dd9d0b90282bce53a831f55ebc Mon Sep 17 00:00:00 2001 From: Jose Luis Rivas Date: Sat, 6 Dec 2014 12:46:53 -0500 Subject: [PATCH] Makefile: Avoid running find in a non-existent directory --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3775ecd996c16d..46dca45f644ce5 100644 --- a/Makefile +++ b/Makefile @@ -79,7 +79,7 @@ uninstall: clean: -rm -rf out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) blog.html email.md - -find out/ -name '*.o' -o -name '*.a' | xargs rm -rf + @if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' | xargs rm -rf; fi -rm -rf node_modules distclean: