summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2011-08-07 00:02:29 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2011-08-07 00:09:08 +0200
commitad31e5af56ec1a68749fef1e597a50682851411a (patch)
tree20f3cf553aeddc7cb01d1052324d42b6e0384174 /Makefile
parentc3ccbea5cde63f6fea5729769370f43fe50cac8b (diff)
downloadnode-new-ad31e5af56ec1a68749fef1e597a50682851411a.tar.gz
build: don't try to `ls -lh` executables that don't exist
Avoids `ls: cannot access build/debug/node_g: No such file or directory`. Not an actual error but it confuses people.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 450775870d..a49e85b3e9 100644
--- a/Makefile
+++ b/Makefile
@@ -11,8 +11,8 @@ web_root = ryan@nodejs.org:~/web/nodejs.org/
export NODE_MAKE := $(MAKE)
all: program
- @-ls -lh build/default/node
- @-ls -lh build/debug/node_g || echo ""
+ @-[ -f build/default/node ] && ls -lh build/default/node
+ @-[ -f build/debug/node_g ] && ls -lh build/debug/node_g
all-progress:
@$(WAF) -p build