BYOBU_TEST gets used to test for greadlink here:
$BYOBU_TEST greadlink >/dev/null 2>&1 && export BYOBU_READLINK="greadlink" || export BYOBU_READLINK="readlink"
But gets defined only later when "${BYOBU_PREFIX}/lib/${PKG}/include/common" is sourced.
Calling "greadlink" without arguments (like it happens in this case) results in an error and therefore "readlink" is used always.
BYOBU_TEST gets used to test for greadlink here:
$BYOBU_TEST greadlink >/dev/null 2>&1 && export BYOBU_READLINK= "greadlink" || export BYOBU_READLINK= "readlink"
But gets defined only later when "${BYOBU_ PREFIX} /lib/${ PKG}/include/ common" is sourced.
Calling "greadlink" without arguments (like it happens in this case) results in an error and therefore "readlink" is used always.