summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
authorAaron Griffin <aaronmgriffin@gmail.com>2008-11-11 22:09:24 -0800
committerAaron Griffin <aaronmgriffin@gmail.com>2008-11-11 22:09:24 -0800
commit35e5070403ddae96238bcce6356f4b9713c96675 (patch)
tree28be8d3ae5981d28369c2854447964d581915ed4 /db-functions
parent0dcc6b02d0ed7cf25e9493667030ded9525473ce (diff)
Move as much as we can out to a config file
This should allow us to move FTP and SVN placement around Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
Diffstat (limited to 'db-functions')
-rw-r--r--db-functions5
1 files changed, 5 insertions, 0 deletions
diff --git a/db-functions b/db-functions
index a20496b..9724e1c 100644
--- a/db-functions
+++ b/db-functions
@@ -3,6 +3,11 @@
# Random integrity things
[ "$UID" = "" ] && UID=$(uid)
+BASEDIR="$(dirname $0)"
+if [ -f "$BASEDIR/config" ]; then
+ . "$BASEDIR/config"
+fi
+
# Useful functions
source_makepkg () {
if [ -f "/etc/makepkg.conf" ]; then