summaryrefslogtreecommitdiffstats
path: root/convert-to-any
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2009-08-18 00:20:27 +0200
committerAaron Griffin <aaronmgriffin@gmail.com>2009-08-18 00:20:27 +0200
commit15de56aa8bb8104a01a983393f8a398348714a3a (patch)
tree220282dff76a9c90551a8a62ee7c6d2b34619f96 /convert-to-any
parent68bf0be302f7650a31f6c188d99c00596b3fbef1 (diff)
downloaddbscripts-15de56aa8bb8104a01a983393f8a398348714a3a.tar.gz
dbscripts-15de56aa8bb8104a01a983393f8a398348714a3a.tar.xz
Remove dependence on makepkg.conf
Removed the need for makepkg.conf * Killed off CARCH * Added PKGEXT to the config file * Remove source_makepkg function * Source config file where makepkg.conf was needed Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'convert-to-any')
-rwxr-xr-xconvert-to-any7
1 files changed, 1 insertions, 6 deletions
diff --git a/convert-to-any b/convert-to-any
index 2ad1521..e21b7cd 100755
--- a/convert-to-any
+++ b/convert-to-any
@@ -15,12 +15,7 @@ if [ $# -ne 1 ]; then
exit 1
fi
-if [ -f /etc/makepkg.conf ]; then
- . /etc/makepkg.conf
-else
- echo "E: /etc/makepkg.conf does not exist."
- exit 1
-fi
+. "$(dirname $0)/db-functions"
cleanup() {
trap '' 0 2