summaryrefslogtreecommitdiff
path: root/util/flash_ec
diff options
context:
space:
mode:
Diffstat (limited to 'util/flash_ec')
-rwxr-xr-xutil/flash_ec2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flash_ec b/util/flash_ec
index 32d6203bf5..e256b9509a 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -783,7 +783,7 @@ function flash_openocd() {
# helper function for using servo with flashrom
function flash_flashrom() {
- TOOL_PATH="${EC_DIR}/build/${BOARD}/util:/usr/sbin/:$PATH"
+ TOOL_PATH="${EC_DIR}/build/${BOARD}/util:$PATH:/usr/sbin"
FLASHROM=$(PATH="${TOOL_PATH}" which flashrom)
if on_servov3; then