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 4854846be1..5658b8039d 100755
--- a/util/flash_ec
+++ b/util/flash_ec
@@ -228,7 +228,7 @@ function free_pty() {
# Board specific flashing scripts
function flash_stm32() {
- TOOL_PATH="${SCRIPT_LOCATION}/../build/${BOARD}/util:$PATH"
+ TOOL_PATH="${SCRIPT_DIR}/../build/${BOARD}/util:$PATH"
STM32MON=$(PATH="${TOOL_PATH}" which stm32mon)
if [ ! -x "$STM32MON" ]; then
die "no stm32mon util found."