mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
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>
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user