mk: embed CurrentCommit in the right place
License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
Łukasz Magiera committed
Sep 21, 2018 at 11:52 UTC
0f3e199443cebd6ad988333440f3f3ff64ac87f8
1 file changed
+1
-1
cmd/ipfs/Rules.mk
+1
-1
@@ -13,7 +13,7 @@ PATH := $(realpath $(d)):$(PATH)
13
# DEPS_OO_$(d) += merkledag/pb/merkledag.pb.go namesys/pb/namesys.pb.go
14
# DEPS_OO_$(d) += pin/internal/pb/header.pb.go unixfs/pb/unixfs.pb.go
15
16
-$(d)_flags =-ldflags="-X "github.com/ipfs/go-ipfs/repo".CurrentCommit=$(git-hash)"
16
+$(d)_flags =-ldflags="-X "github.com/ipfs/go-ipfs".CurrentCommit=$(git-hash)"
17
18
$(d)-try-build $(IPFS_BIN_$(d)): GOFLAGS += $(cmd/ipfs_flags)
19