diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-15 01:32:15 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-15 01:32:15 +0100 |
commit | 4135ce5e27492c9dba542f2ca8b620b6c1a4e858 (patch) | |
tree | 074092e532ec76a38bb237f79db7fb8e31489640 | |
parent | 189b70ddcb2c7b69a93b3b74b801ba588ccb60ef (diff) |
build: use same tarball name on uboot-only release
it's a rarely used feature, not currently used by the
libreboot project itself
remove unnecessary bloat
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-x | build | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -166,16 +166,9 @@ build_release() $err "build_release $srcdir: couldn't generate changelog" ( - if [ "${mode}" = "u-boot" ]; then - cd "${srcdir}/src/" || $err "${_xm}: mktarball \"${srcdir}\"" - mktarball u-boot "../../${srcdir##*/}.tar.xz" || \ - $err "$_xm: mksrc" - # make a src archive containing only u-boot - else - cd "${srcdir%/*}" || $err "${_xm}: mktarball \"${srcdir}\"" - mktarball "${srcdir##*/}" "${srcdir##*/}.tar.xz" || \ - $err "$_xm: mksrc" - fi + cd "${srcdir%/*}" || $err "${_xm}: mktarball \"${srcdir}\"" + mktarball "${srcdir##*/}" "${srcdir##*/}.tar.xz" || \ + $err "$_xm: mksrc" ) || $err "can't create src tarball" [ "${mode}" = "src" ] && return 0 [ "${mode}" = "u-boot" ] && return 0 |