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