summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdb-import8
1 files changed, 4 insertions, 4 deletions
diff --git a/db-import b/db-import
index 7bc822f..79dcfd5 100755
--- a/db-import
+++ b/db-import
@@ -2,10 +2,10 @@
# Imports Arch-like repos, running them through a blacklist
# License: GPLv3
-. $(dirname $0)/config
-. $(dirname $0)/db-import.conf
-. $(librelib messages)
-. $(librelib blacklist)
+. "$(dirname "$(readlink -e "$0")")/config"
+. "$(dirname "$(readlink -e "$0")")/db-import.conf"
+. "$(librelib messages)"
+. "$(librelib blacklist)"
# DBs = pacman DataBases