Commit 74debd67 authored by Natanael Copa's avatar Natanael Copa

abuild: minor cleanup

parent 46aed957
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment