1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-26 12:45:20 +03:00
aports/community/mongodb-tools/fix-build.patch
Leo c2f08f65b8 community/mongodb-tools: move from non-free
Turns out it is actually Apache-2.0 and doesn't depend on mongodb
itself.

fixes #10994
2019-11-26 21:49:22 +01:00

13 lines
436 B
Diff

--- 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)/" \