scripts: use printf, not echo, where appropriate

printf has more universal behaviour, across various
implementations of sh, so it's better to use this.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-09-09 23:31:20 +01:00
parent 76e12cd4a9
commit 5aef8156b5
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ patch_release_roms()
err "patch_release_roms: could not extract release archive"
for x in "${_tmpdir}"/bin/*/*.rom ; do
echo "patching rom $x"
printf "patching rom: %s\n" "$x"
patch_rom "${x}" || err "patch_release_roms: could not patch ${x}"
done
for x in "${_tmpdir}"/bin/*/*_nomicrocode.rom ; do