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 <[email protected]>
Reviewed-by: Shyh-In Hwang <[email protected]>
Commit-Queue: Shyh-In Hwang <[email protected]>
Tested-by: Shyh-In Hwang <[email protected]>
1 file changed