X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=pm-file-converter%2Fbuild-pm-file-converter-ubuntu.sh;h=41ac131855c4225349f896ed27b232b2ce4ef2a8;hb=refs%2Fchanges%2F37%2F12337%2F1;hp=762d3b076ccbbeaeccdfea6fc7853faf6eac1672;hpb=52de92f46aa9f52b02c1b51867fe128239992425;p=nonrtric%2Fplt%2Franpm.git diff --git a/pm-file-converter/build-pm-file-converter-ubuntu.sh b/pm-file-converter/build-pm-file-converter-ubuntu.sh index 762d3b0..41ac131 100644 --- a/pm-file-converter/build-pm-file-converter-ubuntu.sh +++ b/pm-file-converter/build-pm-file-converter-ubuntu.sh @@ -1,7 +1,7 @@ #!/bin/bash ############################################################################## # -# Copyright (C) 2022: Nordix Foundation +# Copyright (C) 2023: Nordix Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -22,12 +22,13 @@ echo "--> build-pm-file-converter-ubuntu.sh" # go installs tools like go-acc to $HOME/go/bin # ubuntu minion path lacks go -export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin +export PATH=$PATH:/usr/local/go/bin:$(go env GOPATH)/bin:$(go env GOPATH) export GO111MODULE=on go version cd pm-file-converter/ # install the go coverage tool helper +go get github.com/ory/go-acc go install github.com/ory/go-acc go get github.com/stretchr/testify/mock@v1.7.1