From bcfc6c88a6e23ac15f08b37d55cf1f5378b4120e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 31 Dec 2013 14:19:10 -0500 Subject: db-import: run `readlink -e` on $0 --- db-import | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'db-import') 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 -- cgit v1.2.3-2-g168b