diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-07 00:02:29 +0200 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2011-08-07 00:09:08 +0200 |
commit | ad31e5af56ec1a68749fef1e597a50682851411a (patch) | |
tree | 20f3cf553aeddc7cb01d1052324d42b6e0384174 /Makefile | |
parent | c3ccbea5cde63f6fea5729769370f43fe50cac8b (diff) | |
download | node-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |