summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-08-23 18:31:33 +0100
committerLeah Rowe <leah@libreboot.org>2025-08-23 18:31:33 +0100
commit9fb707b49bbf9e56a850562b09f37fcf017b078c (patch)
tree65730bb24dece20622761c8e47384b70d568956e /include
parent89238c057928376c9ebee92c1a5a2976ef8de33c (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.sh2
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()