summaryrefslogtreecommitdiff
path: root/db-import
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 14:19:10 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 14:19:10 -0500
commitbcfc6c88a6e23ac15f08b37d55cf1f5378b4120e (patch)
treeffea192eecbe22d11cdcb28b0ab06a3c5bf768f0 /db-import
parentb220202c57cde13273af84e4954dbbccd2824c42 (diff)
db-import: run `readlink -e` on $0
Diffstat (limited to 'db-import')
-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