[app-admin/mongo-tools] remove env vars for testing
This commit is contained in:
parent
2587acd24c
commit
afa7c21d94
@ -57,7 +57,7 @@ src_compile() {
|
|||||||
mkdir -p bin || die
|
mkdir -p bin || die
|
||||||
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
|
for i in bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop; do
|
||||||
echo "Building $i"
|
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
|
-ldflags "-X ${EGO_PN}/common/options.VersionStr=${PV}" -x --tags "${myconf[*]}" "$i/main/$i.go" || die
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user