From 9fb707b49bbf9e56a850562b09f37fcf017b078c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 23 Aug 2025 18:31:33 +0100 Subject: 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 --- include/rom.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/rom.sh') 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() -- cgit v1.2.1