summaryrefslogtreecommitdiff
path: root/devbuild
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-15 16:09:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-15 16:09:38 +0000
commita43aa87150966c72e185d12c24a34b0b6d2c6879 (patch)
tree947d656c994b4cbda13eb635f7de90bd21dd4628 /devbuild
parent5baad961c6ad20863eceea3fc923f5a9a9c5ee6b (diff)
downloadabuild-a43aa87150966c72e185d12c24a34b0b6d2c6879.tar.gz
abuild-a43aa87150966c72e185d12c24a34b0b6d2c6879.tar.bz2
abuild-a43aa87150966c72e185d12c24a34b0b6d2c6879.tar.xz
abuild-a43aa87150966c72e185d12c24a34b0b6d2c6879.zip
devbuild: use .devbuildrc rather than devbuild.conf
Diffstat (limited to 'devbuild')
-rwxr-xr-xdevbuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/devbuild b/devbuild
index 4436602..fabdecf 100755
--- a/devbuild
+++ b/devbuild
@@ -14,20 +14,20 @@
program=${0##*/}
# rebuild env. Those values can be overridden in either
-# /etc/devbuild.conf or $HOME/.devbuild.conf
+# /etc/devbuildrc or $HOME/.devbuildrc
DISTFILES=/var/cache/distfiles
APORTS_DIR=$HOME/aports
ALPINE_DIR=$HOME/abuild
# for the local project. Those values can be overridden by
-# a devbuild.conf in the subprojects subdir
+# a .devbuildrc in the subprojects dir
PACKAGE=$(grep '^PACKAGE' Makefile | sed 's/.*=[[:blank:]]*//')
VERSION=$(grep '^VERSION' Makefile | sed 's/.*=[[:blank:]]*//')
SUFFIX=.tar.bz2
REPO=core
# let user override the above defaults
-for i in /etc/$program.conf $HOME/.$program.conf ./$program.conf; do
+for i in /etc/${program}rc $HOME/.${program}rc ./.${program}rc; do
if [ -f $i ]; then
. $i
fi