[app-admin/mongo-tools] remove env vars for testing

This commit is contained in:
Robert Förster 2024-05-10 10:12:30 +02:00
parent 2587acd24c
commit afa7c21d94
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ src_compile() {
mkdir -p bin || die
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
echo "Building $i"
GO111MODULE='off' GOROOT="$(go env GOROOT)" GOPATH="${WORKDIR}" go build -buildmode="${buildmode}" -o "bin/$i" \
go build -buildmode="${buildmode}" -o "bin/$i" \
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" -x --tags "${myconf[*]}" "$i/main/$i.go" || die
done
}