summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@chromium.org>2022-01-06 14:13:13 -0500
committerMike Frysinger <vapier@gentoo.org>2022-01-06 14:21:41 -0500
commit7d7571d5d819862e37b48a88bca847a757399398 (patch)
treea667225b18ee61dc6a09d75fc22a55a0f7f60854 /sys-devel/binutils/binutils-9999.ebuild
parentsys-libs/binutils-libs: use simpler shell test (diff)
downloadgentoo-7d7571d5d819862e37b48a88bca847a757399398.tar.gz
gentoo-7d7571d5d819862e37b48a88bca847a757399398.tar.bz2
gentoo-7d7571d5d819862e37b48a88bca847a757399398.zip
sys-devel/binutils: use simpler shell test
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-devel/binutils/binutils-9999.ebuild')
-rw-r--r--sys-devel/binutils/binutils-9999.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild
index d3789f18d809..2609713b2a04 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -106,7 +106,7 @@ src_prepare() {
patchsetname="${PATCH_BINUTILS_VER}-${PATCH_VER}"
fi
- if [[ ! -z ${PATCH_VER} ]] || [[ ${PV} == 9999* ]] ; then
+ if [[ -n ${PATCH_VER} ]] || [[ ${PV} == 9999* ]] ; then
if ! use vanilla; then
einfo "Applying binutils patchset ${patchsetname}"
eapply "${WORKDIR}/patch"