diff options
author | Sam James <sam@gentoo.org> | 2024-08-23 15:43:42 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-08-23 15:43:42 +0100 |
commit | 4f778cd76df0591f23a5470d3bea24de1a299eb0 (patch) | |
tree | 0e4d3ccaa10f3447a5eb855fb2f65dd5edfa2f78 /dev-util/perf | |
parent | dev-util/bpftool: fix assert placement (diff) | |
download | gentoo-4f778cd76df0591f23a5470d3bea24de1a299eb0.tar.gz gentoo-4f778cd76df0591f23a5470d3bea24de1a299eb0.tar.bz2 gentoo-4f778cd76df0591f23a5470d3bea24de1a299eb0.zip |
dev-util/perf: fix assert use, as in bpftool
See a04d607f74f91f7ea103f3f33199adb14aa0a1e1.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/perf')
-rw-r--r-- | dev-util/perf/perf-6.10.4.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-util/perf/perf-6.10.4.ebuild b/dev-util/perf/perf-6.10.4.ebuild index 4c50de412173..a8d59bf1b02c 100644 --- a/dev-util/perf/perf-6.10.4.ebuild +++ b/dev-util/perf/perf-6.10.4.ebuild @@ -155,9 +155,9 @@ src_unpack() { eshopts_push -o noglob ebegin "Filtering partial source patch" xzcat "${DISTDIR}"/${LINUX_PATCH} | filterdiff -p1 ${paths[@]/#/-i} > ${P}.patch - test -s ${P}.patch assert -n "Unpacking to ${P} from ${DISTDIR}/${LINUX_PATCH} failed" eend $? || die "filterdiff failed" + test -s ${P}.patch || die "patch is empty?!" eshopts_pop fi |