diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-03 06:23:10 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-05 12:18:22 +0100 |
commit | 91ffabd836374be1b81f8d5702203da64097cf22 (patch) | |
tree | 3c1a5e4ea64a75452a465a7cf5f0e3c19d11f9d8 /util/spkmodem_recv/spkmodem-recv.c | |
parent | e6687929b96ba1e01a9796a66fe6cf8e554ad506 (diff) |
util/nvmutil: use x, not ?, for random characters
A user reported that '?' causes an error on zsh. See:
https://codeberg.org/libreboot/lbmk/issues/261
For example:
./mk inject libreboot-XXXXXX.tar.xz setmac ??:??:??:??:??:??
The user got:
zsh: no matches found: ??:??:??:??:??:??
The mitigation here is to double-quote, e.g.:
./mk inject libreboot-XXXXXX.tar.xz setmac "??:??:??:??:??:??"
However, a lot of people won't do that. Therefore, I will
retain the current behaviour but support x/X for randomness.
Now lbmk uses x by default, instead. I will now update the
documentation, accordingly.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/spkmodem_recv/spkmodem-recv.c')
0 files changed, 0 insertions, 0 deletions