diff options
author | Raul E Rangel <rrangel@chromium.org> | 2019-10-04 11:27:57 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-04 22:15:46 +0000 |
commit | 4a29d2ecf4392cb995548e8f174cc85bac8361c1 (patch) | |
tree | 5f2cc3cf8a8f9f921d29f15728236be6cf668ae3 /common/port80.c | |
parent | 53690d93cfed7649cfd85c512848d41f30d40682 (diff) | |
download | chrome-ec-4a29d2ecf4392cb995548e8f174cc85bac8361c1.tar.gz |
flash_ec: Look for flashrom in PATH before /usr/sbin
/usr/sbin should have lower priority than $PATH.
This allows pointing to a different version of flashrom by setting the
path variable.
It shouldn't have any impact because by default flashrom is installed in
/usr/sbin.
BUG=none
BRANCH=none
TEST=PATH=/tmp/zork:$PATH flash_ec --board=zork --image=foo.bin
Change-Id: Ie656bec10145734bdec1f067b08f164afcf89e90
Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1842034
Commit-Queue: Edward Hill <ecgh@chromium.org>
Reviewed-by: Edward Hill <ecgh@chromium.org>
Diffstat (limited to 'common/port80.c')
0 files changed, 0 insertions, 0 deletions