summaryrefslogtreecommitdiff
path: root/db-repo-remove
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-08 17:33:25 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 14:17:31 -0500
commite6294556d3197b7d87f7659355d0e189fad613d6 (patch)
treebda383debf5102a1d31a15e39a39262d7f3693b2 /db-repo-remove
parentdf9f6b1ba47dc31f058b2c935bcfdc1afe2aef8d (diff)
`readlink -e` all "$0"s
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 2a693f4..7077d62 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: ${0##*/} <repo> <arch> <pkgname> ..."