summaryrefslogtreecommitdiff
path: root/mkrepo
diff options
context:
space:
mode:
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkrepo b/mkrepo
index 5f704cc..10d014b 100755
--- a/mkrepo
+++ b/mkrepo
@@ -3,8 +3,8 @@
# License: GPLv3+
# Description: A script to quickly create new [repos]
-source $(dirname $0)/config
-source $(dirname $0)/local_config
+source "$(dirname "$(readlink -e "$0")")/config"
+source "$(dirname "$(readlink -e "$0")")/local_config"
# TODO it would be simpler to expand arrays to {element1,element2,etc}
for repo in $@; do