diff options
author | Leah Rowe <leah@libreboot.org> | 2024-07-22 23:46:53 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-07-22 23:46:53 +0100 |
commit | 3bd290f6a615c0bf9f8e9095b96e9f30bf2d49bf (patch) | |
tree | cb1432a838f683ebb5bb896535346420deb24e4f | |
parent | a91751a86bc42c3a367f530eef3f9a9728c63eaf (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>
-rw-r--r-- | include/rom.sh | 5 |
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 } |