diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-31 14:35:11 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-31 14:35:11 -0500 |
commit | 99d6b1d0f1f88bf30b75243225cd461afb565f6b (patch) | |
tree | 82a5239fce117f50bd4d80365cb21bd6e5efe409 /db-repo-remove | |
parent | ffe9ada1c43d5fd779863c4be2782f7b690a5fbc (diff) | |
parent | e6294556d3197b7d87f7659355d0e189fad613d6 (diff) |
Merge branch 'cleanup' into master-merge
Conflicts:
config
cron-jobs/sourceballs
db-functions
db-move
db-remove
db-update
Diffstat (limited to 'db-repo-remove')
-rwxr-xr-x | db-repo-remove | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/db-repo-remove b/db-repo-remove index 4f04ed1..7077d62 100755 --- a/db-repo-remove +++ b/db-repo-remove @@ -1,10 +1,10 @@ #!/bin/bash -. "$(dirname $0)/db-functions" -. "$(dirname $0)/config" +. "$(dirname "$(readlink -e "$0")")/config" +. "$(dirname "$(readlink -e "$0")")/db-functions" if [ $# -lt 3 ]; then - msg "usage: $(basename $0) <repo> <arch> <pkgname> ..." + msg "usage: ${0##*/} <repo> <arch> <pkgname> ..." exit 1 fi |