diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-31 15:49:06 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-12-31 15:49:06 -0500 |
commit | 6a093f1dc6bd5398115544dd229b520f9432e122 (patch) | |
tree | e2c81e3dad9b68ad83f3e33e28ac4d56615a6bb8 /testing2x | |
parent | 9b69d5863bdf398b78ce46661dabb9abec09385e (diff) |
use `readlink -e` on $0
Diffstat (limited to 'testing2x')
-rwxr-xr-x | testing2x | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -52,7 +52,7 @@ for repo in ${STABLE_REPOS[@]}; do repo_unlock ${repo} ${pkgarch} done if [ -n "${pkgs[${repo}]}" ]; then - "$(dirname $0)/db-move" ${TESTING_REPO} "${repo}" ${pkgs[${repo}]} + "$(dirname "$(readlink -e "$0")")/db-move" ${TESTING_REPO} "${repo}" ${pkgs[${repo}]} fi done |