Преглед изворни кода

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 пре 10 година
родитељ
комит
abc1cb945b
1 измењених фајлова са 1 додато и 1 уклоњено
  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