mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-02-20 21:46:57 +00:00
abuild: minor cleanup
This commit is contained in:
parent
46aed95754
commit
74debd67ce
@ -11,6 +11,7 @@
|
||||
abuild_ver=@VERSION@
|
||||
sysconfdir=@sysconfdir@
|
||||
apkcache=@apkcache@
|
||||
datadir=@datadir@
|
||||
|
||||
startdir="$PWD"
|
||||
srcdir=${srcdir:-"$startdir/src"}
|
||||
@ -23,17 +24,12 @@ repo=${repo##*/}
|
||||
SRCDEST=${SRCDEST:-$startdir}
|
||||
PKGDEST=${PKGDEST:-$startdir}
|
||||
BUILD_BASE="build-base"
|
||||
|
||||
SUDO=${SUDO:-"sudo"}
|
||||
|
||||
default_cmds="sanitycheck builddeps clean fetch unpack mkusers rootpkg apkcache"
|
||||
|
||||
# read config
|
||||
ABUILD_CONF=${ABUILD_CONF:-"$sysconfdir/abuild.conf"}
|
||||
[ -f "$ABUILD_CONF" ] && . "$ABUILD_CONF"
|
||||
|
||||
# source functions
|
||||
datadir=/usr/share/abuild
|
||||
|
||||
#colors
|
||||
if [ -n "$USE_COLORS" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user