summaryrefslogtreecommitdiff
path: root/db-repo-add
diff options
context:
space:
mode:
Diffstat (limited to 'db-repo-add')
-rwxr-xr-xdb-repo-add4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-repo-add b/db-repo-add
index 09ce865..4611bdf 100755
--- a/db-repo-add
+++ b/db-repo-add
@@ -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> <pkgfile> ..." "${0##*/}"