diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-19 09:51:36 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-11-19 09:51:36 +0000 |
commit | 9aeef85a03ed6479192fa3e111b02968d957d9c3 (patch) | |
tree | e610bd7d8841168919e0bd59245fa3e50165d503 | |
parent | 52534d4d5167eed428df39db7c336488aadaa1e2 (diff) | |
download | abuild-9aeef85a03ed6479192fa3e111b02968d957d9c3.tar.gz abuild-9aeef85a03ed6479192fa3e111b02968d957d9c3.tar.bz2 abuild-9aeef85a03ed6479192fa3e111b02968d957d9c3.tar.xz abuild-9aeef85a03ed6479192fa3e111b02968d957d9c3.zip |
newapkbuild: source PACKAGER from abuild.conf
-rwxr-xr-x | newapkbuild.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/newapkbuild.in b/newapkbuild.in index 1505c0b..4b8d43a 100755 --- a/newapkbuild.in +++ b/newapkbuild.in @@ -14,6 +14,13 @@ datadir=@datadir@ prog=${0##*/} +# source $PACKAGER +for i in /etc/abuild.conf $HOME/.abuild/abuild.conf; do + if [ -f "$i" ]; then + . $i + fi +done + error() { echo "$@" >&2 } |