Explorar el Código

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 hace 10 años
padre
commit
abc1cb945b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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