Commit 09a84e4d authored by Guido Gunther's avatar Guido Gunther

Fall back to weston in $PATH too

parent c4f9a5b3
......@@ -34,7 +34,11 @@ if [ "$?" = "0" ]; then
if ! cat /etc/os-release 2> /dev/null | grep 'ID=raspbian' > /dev/null; then
# Non-Raspbian, we can launch weston under X.
check_install
XDG_DATA_DIRS=$XDG_DATA_DIRS:$PREFIX/share/ $PREFIX/bin/weston
if [ -x $PREFIX/bin/weston ]; then
XDG_DATA_DIRS=$XDG_DATA_DIRS:$PREFIX/share/ $PREFIX/bin/weston
else
XDG_DATA_DIRS=$XDG_DATA_DIRS:$PREFIX/share/ weston
fi
else
echo "You cannot run Maynard under X." >&2
exit 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment