diff --git a/include/option.sh b/include/option.sh index 45066166..8e50a932 100755 --- a/include/option.sh +++ b/include/option.sh @@ -151,7 +151,7 @@ git_err() $err "Git name/email not configured" } -mktar_release() +mkrom_tarball() { printf "%s\n" "${version}" > "${1}/version" || return 1 printf "%s\n" "${versiondate}" > "${1}/versiondate" || return 1 diff --git a/script/roms b/script/roms index e18bdf17..07b205e4 100755 --- a/script/roms +++ b/script/roms @@ -99,7 +99,7 @@ handle_serprog() done fi - [ "$xbmk_release" = "y" ] && mktar_release "bin/serprog_$1"; return 0 + [ "$xbmk_release" = "y" ] && mkrom_tarball "bin/serprog_$1"; return 0 } build_rp2040_rom() @@ -148,7 +148,7 @@ handle_coreboot_target() [ -d "bin/${board}" ] || return 0 [ "$xbmk_release" = "y" ] || targets="* bin/${board}\n${targets}" - [ "$xbmk_release" = "y" ] && mktar_release "bin/$board" && \ + [ "$xbmk_release" = "y" ] && mkrom_tarball "bin/$board" && \ targets="* bin/${relname}_$board.tar.xz\n$targets"; return 0 }