From c486b3b4f38719bba8e97b7628507f90cf26631f Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 7 Nov 2019 11:28:37 +0000 Subject: allow override sharedir for testing Aloow overrid sharedir with global ABUILD_SHAREDIR so we test the local functions.sh instead of a system installed functions.sh --- checkapk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checkapk.in') diff --git a/checkapk.in b/checkapk.in index 1761bb7..f15a079 100644 --- a/checkapk.in +++ b/checkapk.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 -- cgit v1.2.3-60-g2f50