diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-07 11:28:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-07 11:42:23 +0000 |
commit | c486b3b4f38719bba8e97b7628507f90cf26631f (patch) | |
tree | 03d808f7db35cf1820ad4713db21448f382eff24 /buildlab.in | |
parent | f3dc428ea08900f65fbd24586ae841e1bc687520 (diff) | |
download | abuild-c486b3b4f38719bba8e97b7628507f90cf26631f.tar.bz2 abuild-c486b3b4f38719bba8e97b7628507f90cf26631f.tar.xz |
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
Diffstat (limited to 'buildlab.in')
-rw-r--r-- | buildlab.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildlab.in b/buildlab.in index 19d5be1..0b4da5d 100644 --- a/buildlab.in +++ b/buildlab.in @@ -3,7 +3,7 @@ program_version=@VERSION@ sysconfdir=@sysconfdir@ abuildrepo=/var/lib/buildlab/result -sharedir=@sharedir@ +sharedir=${ABUILD_SHAREDIR:-@sharedir@} BUILD_BASE="build-base" SUDO=${SUDO:-"sudo"} |