diff --git a/src/dbnode/generated/proto/generate.go b/src/dbnode/generated/proto/generate.go index 0da4845eb1..3320323a58 100644 --- a/src/dbnode/generated/proto/generate.go +++ b/src/dbnode/generated/proto/generate.go @@ -18,6 +18,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -//go:generate sh -c "$GOPATH/src/$PACKAGE/scripts/proto-gen.sh $PACKAGE/src/dbnode/generated/proto" +//go:generate sh -c "../../scripts/proto-gen.sh $PACKAGE/src/dbnode/generated/proto" package proto diff --git a/src/dbnode/generated/thrift/generate.go b/src/dbnode/generated/thrift/generate.go index d0ca13ed87..767c0bbce9 100644 --- a/src/dbnode/generated/thrift/generate.go +++ b/src/dbnode/generated/thrift/generate.go @@ -18,6 +18,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -//go:generate sh -c "$GOPATH/src/$PACKAGE/src/dbnode/generated/thrift/generate.sh" +//go:generate sh -c "./generate.sh" package thrift diff --git a/src/m3em/generated/proto/generate.go b/src/m3em/generated/proto/generate.go index 5d830e3093..f34572f8a4 100644 --- a/src/m3em/generated/proto/generate.go +++ b/src/m3em/generated/proto/generate.go @@ -18,6 +18,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -//go:generate sh -c "$GOPATH/src/$PACKAGE/scripts/proto-gen.sh $PACKAGE/src/m3em/generated/proto" +//go:generate sh -c "../../scripts/proto-gen.sh $PACKAGE/src/m3em/generated/proto" package generated diff --git a/src/m3ninx/generated/proto/generate.go b/src/m3ninx/generated/proto/generate.go index 0ca3b7176c..0f97ce8521 100644 --- a/src/m3ninx/generated/proto/generate.go +++ b/src/m3ninx/generated/proto/generate.go @@ -18,6 +18,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -//go:generate sh -c "$GOPATH/src/$PACKAGE/scripts/proto-gen.sh $PACKAGE/src/m3ninx/generated/proto" +//go:generate sh -c "../../scripts/proto-gen.sh $PACKAGE/src/m3ninx/generated/proto" package proto diff --git a/src/x/generated/proto/generate.go b/src/x/generated/proto/generate.go index 4696f5fafc..34d05b90a6 100644 --- a/src/x/generated/proto/generate.go +++ b/src/x/generated/proto/generate.go @@ -18,6 +18,6 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. -//go:generate sh -c "$GOPATH/src/$PACKAGE/scripts/proto-gen.sh $PACKAGE/src/x/generated/proto" +//go:generate sh -c "../../scripts/proto-gen.sh $PACKAGE/src/x/generated/proto" package proto