Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Rivas <me@ghostbar.co>2014-12-06 20:46:53 +0300
committerBen Noordhuis <info@bnoordhuis.nl>2014-12-06 21:44:35 +0300
commit244a8f78d678c5f7d131a89ccdbf425319a793b1 (patch)
treeb2dbc83bc000f2f4f7e90a5612881b0472351e3f /Makefile
parentb928303d83859a0dfa7c83b317b93a3a13b78ee2 (diff)
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 3775ecd996c..46dca45f644 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: