summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJose Luis Rivas <me@ghostbar.co>2014-12-06 12:46:53 -0500
committerBen Noordhuis <info@bnoordhuis.nl>2014-12-06 19:44:35 +0100
commit244a8f78d678c5f7d131a89ccdbf425319a793b1 (patch)
treeb2dbc83bc000f2f4f7e90a5612881b0472351e3f /Makefile
parentb928303d83859a0dfa7c83b317b93a3a13b78ee2 (diff)
downloadandroid-node-v8-244a8f78d678c5f7d131a89ccdbf425319a793b1.tar.gz
android-node-v8-244a8f78d678c5f7d131a89ccdbf425319a793b1.tar.bz2
android-node-v8-244a8f78d678c5f7d131a89ccdbf425319a793b1.zip
build: don't run find in non-existent directory
PR-URL: https://github.com/iojs/io.js/pull/97 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3775ecd996..46dca45f64 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: