summaryrefslogtreecommitdiff
path: root/db-repo-remove
diff options
context:
space:
mode:
Diffstat (limited to 'db-repo-remove')
-rwxr-xr-xdb-repo-remove4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-repo-remove b/db-repo-remove
index 97a671b..aadc4ce 100755
--- a/db-repo-remove
+++ b/db-repo-remove
@@ -1,7 +1,7 @@
#!/bin/bash
-. "$(dirname "$0")/config"
-. "$(dirname "$0")/db-functions"
+. "$(dirname "$(readlink -e "$0")")/config"
+. "$(dirname "$(readlink -e "$0")")/db-functions"
if [ $# -lt 3 ]; then
msg "usage: %s <repo> <arch> <pkgname> ..." "${0##*/}"