summaryrefslogtreecommitdiff
path: root/db-check-nonfree
diff options
context:
space:
mode:
Diffstat (limited to 'db-check-nonfree')
-rwxr-xr-xdb-check-nonfree4
1 files changed, 2 insertions, 2 deletions
diff --git a/db-check-nonfree b/db-check-nonfree
index ecad3b9..ba5f5aa 100755
--- a/db-check-nonfree
+++ b/db-check-nonfree
@@ -1,7 +1,7 @@
#!/bin/bash
-. "$(dirname $0)/db-functions"
-. "$(dirname $0)/config"
+. "$(dirname "$(readlink -e "$0")")/db-functions"
+. "$(dirname "$(readlink -e "$0")")/config"
if [ $# -ge 1 ]; then
warning "Calling $(basename $0) with a specific repository is not supported"