Skip to content

Commit

Permalink
build: remove needless output
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mitake committed Jun 24, 2016
1 parent b945a3f commit abc1cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit abc1cb9

Please sign in to comment.