summaryrefslogtreecommitdiff
path: root/testing2x
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 15:49:06 -0500
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-12-31 15:49:06 -0500
commit6a093f1dc6bd5398115544dd229b520f9432e122 (patch)
treee2c81e3dad9b68ad83f3e33e28ac4d56615a6bb8 /testing2x
parent9b69d5863bdf398b78ce46661dabb9abec09385e (diff)
use `readlink -e` on $0
Diffstat (limited to 'testing2x')
-rwxr-xr-xtesting2x2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing2x b/testing2x
index 14610c2..6646179 100755
--- a/testing2x
+++ b/testing2x
@@ -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