summaryrefslogtreecommitdiff
path: root/db-functions
diff options
context:
space:
mode:
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