diff options
author | Leah Rowe <leah@libreboot.org> | 2025-08-23 18:31:33 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-08-23 18:31:33 +0100 |
commit | 9fb707b49bbf9e56a850562b09f37fcf017b078c (patch) | |
tree | 65730bb24dece20622761c8e47384b70d568956e /include | |
parent | 89238c057928376c9ebee92c1a5a2976ef8de33c (diff) |
rom.sh: safer use of cat in copyps1bios
the output to a file also has its own error handling,
but x_ can be used safely to provide additional assurance
that the script will break if an error occurs.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/rom.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rom.sh b/include/rom.sh index edfd81e0..34dea35c 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -27,7 +27,7 @@ copyps1bios() printf "MIT License\n\nCopyright (c) 2019-2025 PCSX-Redux authors\n\n" \ > bin/playstation/COPYING.txt || err "!pcsx-redux copyright" - cat config/snippet/mit >>bin/playstation/COPYING.txt || err "!pcsx MIT" + x_ cat config/snippet/mit >>bin/playstation/COPYING.txt || err "!pcsx MIT" } mkpayload_grub() |