summaryrefslogtreecommitdiff
path: root/newapkbuild.in
diff options
context:
space:
mode:
Diffstat (limited to 'newapkbuild.in')
-rw-r--r--newapkbuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/newapkbuild.in b/newapkbuild.in
index f50276b..5816578 100644
--- a/newapkbuild.in
+++ b/newapkbuild.in
@@ -7,7 +7,7 @@
#
program_version=@VERSION@
-sharedir=@sharedir@
+sharedir=${ABUILD_SHAREDIR:-@sharedir@}
if ! [ -f "$sharedir/functions.sh" ]; then
echo "$sharedir/functions.sh: not found" >&2