Skip to content

Commit 244a8f7

Browse files
ghostbarbnoordhuis
authored andcommitted
build: don't run find in non-existent directory
PR-URL: #97 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent b928303 commit 244a8f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ uninstall:
7979

8080
clean:
8181
-rm -rf out/Makefile $(NODE_EXE) $(NODE_G_EXE) out/$(BUILDTYPE)/$(NODE_EXE) blog.html email.md
82-
-find out/ -name '*.o' -o -name '*.a' | xargs rm -rf
82+
@if [ -d out ]; then find out/ -name '*.o' -o -name '*.a' | xargs rm -rf; fi
8383
-rm -rf node_modules
8484

8585
distclean:

0 commit comments

Comments
 (0)