From 1b54c7a744ac474bdcf0844ace97741b949a6fa1 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Mon, 6 Oct 2025 12:43:04 +0100 Subject: rom.sh: use if_dry_build macro instead of checking if_not_dry_build. use it here the same way. yes. shell script macros. it's how i roll. Signed-off-by: Leah Rowe --- include/rom.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'include/rom.sh') diff --git a/include/rom.sh b/include/rom.sh index b1c3c559..67723559 100644 --- a/include/rom.sh +++ b/include/rom.sh @@ -25,9 +25,8 @@ buildser() copyps1bios() { - if [ "$if_not_dry_build" = ":" ]; then + $if_dry_build \ return 0 - fi remkdir "bin/playstation" x_ cp src/pcsx-redux/src/mips/openbios/openbios.bin bin/playstation @@ -45,9 +44,8 @@ mkpayload_grub() grub_modules="" grub_install_modules="" - if [ "$if_not_dry_build" = ":" ]; then + $if_dry_build \ return 0 - fi . "$grubdata/module/$tree" || \ err "Can't read '$grubdata/module/$tree'" "mkpayload_grub" "$@" -- cgit v1.2.1