From bd517a3d27f22ca2613634f1d6b7acf531f53dab Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Mon, 22 Jul 2024 23:46:53 +0100
Subject: [PATCH] rom.sh: don't dry-run mkcoreboottar

same as the last change. make the main function a wrapper
that dry-runs the real function.

if the "dry" variable is blank, it executes.

Signed-off-by: Leah Rowe <leah@libreboot.org>
---
 include/rom.sh | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/rom.sh b/include/rom.sh
index 41853f0..23974c3 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -174,6 +174,11 @@ cprom()
 }
 
 mkcoreboottar()
+{
+	$dry realmkcoreboottar
+}
+
+realmkcoreboottar()
 {
 	[ "$target" = "$tree" ] && return 0; [ "$XBMK_RELEASE" = "y" ] && \
 	    [ "$release" != "n" ] && $dry mkrom_tarball "bin/$target"; return 0
-- 
GitLab