[telepathy-mission-control-5.16] telepathy-mission-control: Make run-test.sh busybox compatible

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Aug 25 19:51:16 UTC 2020


Module: telepathy-mission-control
Branch: telepathy-mission-control-5.16
Commit: c573ebb6dd9df55e56d9279bbfddea67f9cd701f
URL:    http://cgit.freedesktop.org/telepathy/telepathy-mission-control/commit/?id=c573ebb6dd9df55e56d9279bbfddea67f9cd701f

Author: Tomi Leppänen <tomi.leppanen at jolla.com>
Date:   Fri Aug 21 15:52:26 2020 +0300

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 at jolla.com>

---

 tests/twisted/run-test.sh.in | 4 ++--
 1 file 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



More information about the telepathy-commits mailing list