Skip to content

Commit

Permalink
build: don't run find in non-existent directory
Browse files Browse the repository at this point in the history
PR-URL: #97
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
ghostbar authored and bnoordhuis committed Dec 6, 2014
1 parent b928303 commit 244a8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 244a8f7

Please sign in to comment.