summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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