media-libs/dr_mp3: replace assert with pipestatus

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
This commit is contained in:
Lucio Sauer 2025-01-02 13:05:45 +01:00
parent d0e8e3247b
commit 44335352fe
No known key found for this signature in database
GPG Key ID: 5568A2DDA60CA297

View File

@ -1,9 +1,9 @@
# Copyright 2023-2024 Gentoo Authors
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo toolchain-funcs
inherit eapi9-pipestatus edo toolchain-funcs
COMMIT="37a5ffb671a4465cfefc7ba8ce7e8ae298612e5a"
@ -27,9 +27,9 @@ TESTCASES=(
src_prepare() {
awk '/Introduction/,/\*\//' dr_mp3.h | sed '$d' > README
assert
pipestatus || die
awk '/REVISION HISTORY/,/\*\//' dr_mp3.h | sed '$d' > CHANGELOG
assert
pipestatus || die
default
}