diff options
Diffstat (limited to '')
-rwxr-xr-x | src/go/plugin/go.d/hack/go-build.sh (renamed from src/go/collectors/go.d.plugin/hack/go-build.sh) | 4 | ||||
-rwxr-xr-x | src/go/plugin/go.d/hack/go-fmt.sh (renamed from src/go/collectors/go.d.plugin/hack/go-fmt.sh) | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/go/collectors/go.d.plugin/hack/go-build.sh b/src/go/plugin/go.d/hack/go-build.sh index c211cff4d..0b451f9c5 100755 --- a/src/go/collectors/go.d.plugin/hack/go-build.sh +++ b/src/go/plugin/go.d/hack/go-build.sh @@ -36,11 +36,11 @@ WHICH="$1" VERSION="${TRAVIS_TAG:-$(git describe --tags --always --dirty)}" GOLDFLAGS=${GLDFLAGS:-} -GOLDFLAGS="$GOLDFLAGS -w -s -X github.com/netdata/netdata/go/go.d.plugin/pkg/buildinfo.Version=$VERSION" +GOLDFLAGS="$GOLDFLAGS -w -s -X github.com/netdata/netdata/go/plugins/pkg/buildinfo.Version=$VERSION" build() { echo "Building ${GOOS}/${GOARCH}" - CGO_ENABLED=0 GOOS="$1" GOARCH="$2" go build -ldflags "${GOLDFLAGS}" -o "$3" "github.com/netdata/netdata/go/go.d.plugin/cmd/godplugin" + CGO_ENABLED=0 GOOS="$1" GOARCH="$2" go build -ldflags "${GOLDFLAGS}" -o "$3" "github.com/netdata/netdata/go/plugins/cmd/godplugin" } create_config_archives() { diff --git a/src/go/collectors/go.d.plugin/hack/go-fmt.sh b/src/go/plugin/go.d/hack/go-fmt.sh index fcc9e2d57..fcc9e2d57 100755 --- a/src/go/collectors/go.d.plugin/hack/go-fmt.sh +++ b/src/go/plugin/go.d/hack/go-fmt.sh |