From c5942972f758f82d8b49a6430f0a038cc8b9ec1e Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Sat, 17 Mar 2018 00:35:31 -0700 Subject: [PATCH] build: fix GO_LDFLAGS (wrong 'internal' path) GIT_SHA wasn't updated (internal path was wrong) Signed-off-by: Gyuho Lee --- build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build b/build index 01dc5934b..688c6c87d 100755 --- a/build +++ b/build @@ -10,13 +10,13 @@ if [[ ! -z "$FAILPOINTS" ]]; then fi # Set GO_LDFLAGS="-s" for building without symbols for debugging. -GO_LDFLAGS="$GO_LDFLAGS -X ${REPO_PATH}/internal/version.GitSHA=${GIT_SHA}" +GO_LDFLAGS="$GO_LDFLAGS -X ${REPO_PATH}/version.GitSHA=${GIT_SHA}" # enable/disable failpoints toggle_failpoints() { mode="$1" if which gofail >/dev/null 2>&1; then - gofail "$mode" etcdserver/ internal/mvcc/backend/ + gofail "$mode" etcdserver/ mvcc/backend/ elif [[ "$mode" != "disable" ]]; then echo "FAILPOINTS set but gofail not found" exit 1