Browse Source

build: remove needless output

Current build script outputs its name to stdout because of its
checking argv[0].

$ ./build
./build

The line is a little bit mysterious so this commit removes it.
Hitoshi Mitake 9 years ago
parent
commit
abc1cb945b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build

+ 1 - 1
build

@@ -41,4 +41,4 @@ etcd_build() {
 toggle_failpoints
 
 # don't build when sourced
-(echo "$0" | grep "/build$") && etcd_build || true
+(echo "$0" | grep "/build$" > /dev/null) && etcd_build || true