Fix some issues in webplot.sh
This patch handles a few issues in this script.
First, there maybe multiple copies of webplot python directories
exist in a chromebook such as
/usr/lib*
/usr/local/lib*
This patch gives the priority to the one in /usr/lib* as this is
the one resulted from a manual emerge. For a regular user, there
would be only one copy existing in /usr/local/lib*.
As there is no reliable way to launch a chrome tab from
command line in chrome os, we remove the related snippet and
notify the user to type URL in chrome manually.
BUG=chromium:443539
TEST=Run the webplot script in a chromebook by just typing
$ webplot
It should launch the webplot server correctly.
Change-Id: I95e25e719c6b68f1b22800fd10cab0ea06332487
Reviewed-on: https://chromium-review.googlesource.com/245674
Reviewed-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-by: Shyh-In Hwang <josephsih@chromium.org>
Commit-Queue: Shyh-In Hwang <josephsih@chromium.org>
Tested-by: Shyh-In Hwang <josephsih@chromium.org>
1 file changed