summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-10-24 19:18:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-10-24 19:18:35 +0000
commit74debd67ce1965080d9144a55a0eef20eb3a0154 (patch)
treeed053969951ae2fe4a766c9aeef035284bde34cc
parent46aed95754ebeb17a3a367b3b41d0b6424fd18d9 (diff)
downloadabuild-74debd67ce1965080d9144a55a0eef20eb3a0154.tar.gz
abuild-74debd67ce1965080d9144a55a0eef20eb3a0154.tar.bz2
abuild-74debd67ce1965080d9144a55a0eef20eb3a0154.tar.xz
abuild-74debd67ce1965080d9144a55a0eef20eb3a0154.zip
abuild: minor cleanup
-rwxr-xr-xabuild.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/abuild.in b/abuild.in
index 9e894dc..cab8f1b 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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