Port: do not depend on GNU readlink
[babeltrace.git] / tests / plugins / test_dwarf_complete.in
index a0ae51b58bdd7f3c665fa235caf3474cf5e95dd3..0a99e7d9d55ab8e851557614e89cb73f7aaa18d2 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.022757 seconds and 4 git commands to generate.