Commit a43aa871 authored by Natanael Copa's avatar Natanael Copa
Browse files

devbuild: use .devbuildrc rather than devbuild.conf

parent 5baad961
...@@ -14,20 +14,20 @@ ...@@ -14,20 +14,20 @@
program=${0##*/} program=${0##*/}
# rebuild env. Those values can be overridden in either # 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 DISTFILES=/var/cache/distfiles
APORTS_DIR=$HOME/aports APORTS_DIR=$HOME/aports
ALPINE_DIR=$HOME/abuild ALPINE_DIR=$HOME/abuild
# for the local project. Those values can be overridden by # 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:]]*//') PACKAGE=$(grep '^PACKAGE' Makefile | sed 's/.*=[[:blank:]]*//')
VERSION=$(grep '^VERSION' Makefile | sed 's/.*=[[:blank:]]*//') VERSION=$(grep '^VERSION' Makefile | sed 's/.*=[[:blank:]]*//')
SUFFIX=.tar.bz2 SUFFIX=.tar.bz2
REPO=core REPO=core
# let user override the above defaults # 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 if [ -f $i ]; then
. $i . $i
fi fi
......
Supports Markdown
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