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. --- abump.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'abump.in') diff --git a/abump.in b/abump.in index efeb481..3ddf259 100644 --- a/abump.in +++ b/abump.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" : ${ABUILD:="abuild"} -- cgit v1.2.3-70-g09d2