Redirect stderr when testing for BYOBU_TEST

This commit is contained in:
Daniel Hahler 2012-07-10 21:10:25 +02:00
commit 7f5c177a4a

View file

@ -23,9 +23,9 @@ if [ -z "${BYOBU_INCLUDED_LIBS}" ]; then
. "${BYOBU_PREFIX}/lib/${PKG}/include/dirs" . "${BYOBU_PREFIX}/lib/${PKG}/include/dirs"
# Find command/type/which # Find command/type/which
if command -v; then if command -v 2>/dev/null; then
BYOBU_TEST="command -v" BYOBU_TEST="command -v"
elif type; then elif type 2>/dev/null; then
BYOBU_TEST="type" BYOBU_TEST="type"
else else
BYOBU_TEST="which" BYOBU_TEST="which"