summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomi Leppänen <tomi.leppanen@jolla.com>2020-08-21 15:52:26 +0300
committerTomi Leppänen <tomi.leppanen@jolla.com>2020-08-24 14:47:59 +0300
commitc573ebb6dd9df55e56d9279bbfddea67f9cd701f (patch)
tree96ab088691a7513686ba3900bfeab4e7c39f3819
parent3f0ce4db48ac6389ffacd4ac1a9b24bae989d97c (diff)
downloadtelepathy-mission-control-c573ebb6dd9df55e56d9279bbfddea67f9cd701f.tar.gz
Make run-test.sh busybox compatible
Busybox doesn't support readlink -e, readlink -f is almost equivalent. Signed-off-by: Tomi Leppänen <tomi.leppanen@jolla.com>
-rw-r--r--tests/twisted/run-test.sh.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/twisted/run-test.sh.in b/tests/twisted/run-test.sh.in
index 56ade7b3..c45fb5c9 100644
--- a/tests/twisted/run-test.sh.in
+++ b/tests/twisted/run-test.sh.in
@@ -17,8 +17,8 @@ MC_TEST_CURDIR="`pwd`"
export MC_TEST_CURDIR
if test "x$MC_TEST_UNINSTALLED" = x; then
- script_fullname=`readlink -e "@mctestsdir@/twisted/run-test.sh"`
- if [ `readlink -e "$0"` != "$script_fullname" ] ; then
+ script_fullname=`readlink -f "@mctestsdir@/twisted/run-test.sh"`
+ if [ `readlink -f "$0"` != "$script_fullname" ] ; then
echo "This script is meant to be installed at $script_fullname" >&2
exit 1
fi