summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-05-15 01:32:15 +0100
committerLeah Rowe <leah@libreboot.org>2024-05-15 01:32:15 +0100
commit4135ce5e27492c9dba542f2ca8b620b6c1a4e858 (patch)
tree074092e532ec76a38bb237f79db7fb8e31489640
parent189b70ddcb2c7b69a93b3b74b801ba588ccb60ef (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-xbuild13
1 files changed, 3 insertions, 10 deletions
diff --git a/build b/build
index aa6d99dc..ab896706 100755
--- a/build
+++ b/build
@@ -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