diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-07 11:21:32 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-07 11:42:23 +0000 |
| commit | f3dc428ea08900f65fbd24586ae841e1bc687520 (patch) | |
| tree | e8041aa4b7a40e1e14d5d59b22a5c57eb3fd8e4a /abump.in | |
| parent | 43fb2c012e4c8a6394e9177e48999bde4de1846a (diff) | |
| download | abuild-f3dc428ea08900f65fbd24586ae841e1bc687520.tar.bz2 abuild-f3dc428ea08900f65fbd24586ae841e1bc687520.tar.xz | |
rename datadir -> sharedir
abuild uses datadir as local variable in various functions. Rename the
global datadir to sharedir to avoid confusion.
Diffstat (limited to 'abump.in')
| -rw-r--r-- | abump.in | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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"} |
