From f3dc428ea08900f65fbd24586ae841e1bc687520 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 7 Nov 2019 11:21:32 +0000 Subject: rename datadir -> sharedir abuild uses datadir as local variable in various functions. Rename the global datadir to sharedir to avoid confusion. --- apkgrel.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apkgrel.in') diff --git a/apkgrel.in b/apkgrel.in index 1250136..448a93c 100644 --- a/apkgrel.in +++ b/apkgrel.in @@ -7,13 +7,13 @@ # program_version=@VERSION@ -datadir=@datadir@ +sharedir=@sharedir@ -if ! [ -f "$datadir/functions.sh" ]; then - echo "$datadir/functions.sh: not found" >&2 +if ! [ -f "$sharedir/functions.sh" ]; then + echo "$sharedir/functions.sh: not found" >&2 exit 1 fi -. "$datadir/functions.sh" +. "$sharedir/functions.sh" show_plain() { -- cgit v1.2.3-70-g09d2