summaryrefslogtreecommitdiff
path: root/apkgrel.in
diff options
context:
space:
mode:
Diffstat (limited to 'apkgrel.in')
-rw-r--r--apkgrel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/apkgrel.in b/apkgrel.in
index 448a93c..783a218 100644
--- a/apkgrel.in
+++ b/apkgrel.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