Port: do not depend on GNU readlink
[babeltrace.git] / tests / lib / test_ctf_writer_complete.in
index 4502d444f58e905fdedf8d119410efa6e362b9d4..abb057586e5e80cfaec261b519042a9cbd69fc76 100644 (file)
@@ -20,7 +20,6 @@
 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)"
 
 "${curdir}/test_ctf_writer" "$BT_BIN"
This page took 0.022315 seconds and 4 git commands to generate.