diff options
Diffstat (limited to 'util')
-rwxr-xr-x | util/flash_ec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flash_ec b/util/flash_ec index 4f886e3480..32d6203bf5 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -886,7 +886,7 @@ function flash_flashrom() { if [[ "${CHIP}" =~ ^npcx(|_int)_spi$ ]] ; then { # Patch temp image up to SPI_SIZE - cat $IMG + cat "$IMG" if [[ ${IMG_SIZE} -lt ${SPI_SIZE} ]] ; then dd if=/dev/zero bs=${PATCH_SIZE} count=1 | \ tr '\0' '\377' @@ -898,7 +898,7 @@ function flash_flashrom() { dd if=/dev/zero bs=${PATCH_SIZE} count=1 | \ tr '\0' '\377' fi - cat $IMG + cat "$IMG" } > $T fi |