summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLevente Polyak <anthraxx@archlinux.org>2021-06-21 20:46:16 +0200
committerLevente Polyak <anthraxx@archlinux.org>2021-07-17 22:56:11 +0200
commit0a0e66a784d4831c4139bf646b5329bff54465d7 (patch)
tree10c0aae49fcd0c08fb999a35c0d3933e4a73d524 /lib
parent60e96c9d4bc22062f4633fbc1faa57a2947d0605 (diff)
downloaddevtools-0a0e66a784d4831c4139bf646b5329bff54465d7.tar.xz
feat: support exposing buildtool to aid reproducible builds configs
This helps to map the correct build tool configs that are required to reproduce a specific package and have the appropriate *FLAGS etc.
Diffstat (limited to 'lib')
-rw-r--r--lib/common.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/common.sh b/lib/common.sh
index fce52f6..12604d8 100644
--- a/lib/common.sh
+++ b/lib/common.sh
@@ -14,6 +14,10 @@ $_INCLUDE_COMMON_SH
# Avoid any encoding problems
export LANG=C
+# Set buildtool properties
+export BUILDTOOL=devtools
+export BUILDTOOLVER=m4_devtools_version
+
shopt -s extglob
# check if messages are to be printed using color