mirror of
https://github.com/powerline/powerline.git
synced 2025-07-27 07:44:36 +02:00
Do not require scripts/powerline
It may be immediately moved to bin/ sometimes or not compiled at all for some reason.
This commit is contained in:
parent
042d542231
commit
77a7a26782
@ -240,6 +240,13 @@ if test -z "${ONLY_SHELL}" || test "x${ONLY_SHELL%sh}" != "x${ONLY_SHELL}" || te
|
|||||||
*powerline.sh) TEST_CLIENT=shell ;;
|
*powerline.sh) TEST_CLIENT=shell ;;
|
||||||
"") TEST_CLIENT=auto ;;
|
"") TEST_CLIENT=auto ;;
|
||||||
esac
|
esac
|
||||||
|
if test "$TEST_CLIENT" = "C" && ! test -x scripts/powerline ; then
|
||||||
|
if which powerline >/dev/null ; then
|
||||||
|
POWERLINE_COMMAND=powerline
|
||||||
|
else
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
fi
|
||||||
if test "$TEST_CLIENT" = "shell" && ! which socat >/dev/null ; then
|
if test "$TEST_CLIENT" = "shell" && ! which socat >/dev/null ; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user