summaryrefslogtreecommitdiff
path: root/include/rom.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-22 23:46:53 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-22 23:46:53 +0100
commit3bd290f6a615c0bf9f8e9095b96e9f30bf2d49bf (patch)
treecb1432a838f683ebb5bb896535346420deb24e4f /include/rom.sh
parenta91751a86bc42c3a367f530eef3f9a9728c63eaf (diff)
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>
Diffstat (limited to 'include/rom.sh')
-rw-r--r--include/rom.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rom.sh b/include/rom.sh
index eadef643..8e33a564 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -181,6 +181,11 @@ cprom()
mkcoreboottar()
{
+ $dry realmkcoreboottar
+}
+
+realmkcoreboottar()
+{
[ "$target" = "$tree" ] && return 0; [ "$XBMK_RELEASE" = "y" ] && \
[ "$release" != "n" ] && $dry mkrom_tarball "bin/$target"; return 0
}