aboutsummaryrefslogtreecommitdiffstats
path: root/community/mongodb-tools/fix-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/mongodb-tools/fix-build.patch')
-rw-r--r--community/mongodb-tools/fix-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/community/mongodb-tools/fix-build.patch b/community/mongodb-tools/fix-build.patch
new file mode 100644
index 0000000000..4913d8caa6
--- /dev/null
+++ b/community/mongodb-tools/fix-build.patch
@@ -0,0 +1,13 @@
+--- mongo-tools-r3.4.3/build.sh.orig
++++ mongo-tools-r3.4.3/build.sh
+@@ -7,8 +7,8 @@
+ fi
+
+ # make sure we're in the directory where the script lives
+-SCRIPT_DIR="$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd)"
+-cd $SCRIPT_DIR
++#SCRIPT_DIR="$(cd "$(dirname ${BASH_SOURCE[0]})" && pwd)"
++#cd $SCRIPT_DIR
+
+ sed -i.bak -e "s/built-without-version-string/$(git describe)/" \
+ -e "s/built-without-git-spec/$(git rev-parse HEAD)/" \