Port: do not depend on GNU readlink
[babeltrace.git] / tests / plugins / test_bin_info_complete.in
index 09ab708e965095b00b8c2ebfd2dae70c4d9f6077..0069dd7e1263704ad2da696b3a44d34ace416713 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)"
 
 debug_info_data="${BT_SRC_PATH}/tests/debug-info-data"
 
This page took 0.023543 seconds and 4 git commands to generate.