mirror of
https://github.com/dustinkirkland/byobu
synced 2025-08-22 14:24:39 -07:00
Redirect stderr when testing for BYOBU_TEST
This commit is contained in:
parent
9f5e77b845
commit
7f5c177a4a
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue