Port: do not depend on GNU readlink
[babeltrace.git] / tests / plugins / test-utils-muxer-complete.in
index 85b51dd51f55979716f678eafd9c5e1bcf8de1ca..beb6f0a20551fb8a6f2ab8839ce8ce13013e194a 100644 (file)
@@ -20,8 +20,7 @@
 NO_SH_TAP=1
 . "@abs_top_builddir@/tests/utils/common.sh"
 
-script="$(readlink -f "$0")"
-curdir="$(dirname "$script")"
+curdir="$(cd -P "$(dirname "$0")" >/dev/null && pwd)"
 
 plugin_dir="${BT_BUILD_PATH}/plugins/utils"
 
This page took 0.022877 seconds and 4 git commands to generate.