summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2022-02-05 16:08:20 +1300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-06 15:47:04 +0700
commit534c5329100520e73ce481d383bfa3321b9298dd (patch)
treefa76a49bacc727f3baea5f31ef9efabd895e1565
parentcfe5e199fd4a1766cf47be9eb489e3d34abefee7 (diff)
downloadslackbuilds-534c5329100520e73ce481d383bfa3321b9298dd.tar.gz
system/mongo-tools: Fix build with newer google-go-lang.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/mongo-tools/mongo-tools.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/system/mongo-tools/mongo-tools.SlackBuild b/system/mongo-tools/mongo-tools.SlackBuild
index 4009cf9019..ddb01204fc 100644
--- a/system/mongo-tools/mongo-tools.SlackBuild
+++ b/system/mongo-tools/mongo-tools.SlackBuild
@@ -81,6 +81,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+export GO111MODULE="off"
+
TARGET_PATH=$PKG/usr/bin
mkdir -p $TARGET_PATH
. ./set_gopath.sh