summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/mongo-tools/mongo-tools-3.2.10.ebuild')
-rw-r--r--app-admin/mongo-tools/mongo-tools-3.2.10.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/app-admin/mongo-tools/mongo-tools-3.2.10.ebuild b/app-admin/mongo-tools/mongo-tools-3.2.10.ebuild
index 81808be14276..b680a6215ae3 100644
--- a/app-admin/mongo-tools/mongo-tools-3.2.10.ebuild
+++ b/app-admin/mongo-tools/mongo-tools-3.2.10.ebuild
@@ -32,6 +32,9 @@ S=${WORKDIR}/${MY_P}
src_prepare() {
sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die
+
+ # ensure we use bash wrt #582906
+ sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
}
src_compile() {
@@ -45,7 +48,7 @@ src_compile() {
myconf="${myconf} ssl"
fi
- ./build.sh ${myconf}
+ ./build.sh ${myconf} || die "build failed"
}
src_install() {