diff options
author | Mike Frysinger <vapier@chromium.org> | 2022-01-06 14:12:50 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-06 14:21:40 -0500 |
commit | f1d7c4c0527c802a550af6a76f2ec8ac5062a820 (patch) | |
tree | 34bf76e62084fc995224394adc06a74d62ba44f7 /sys-libs/binutils-libs | |
parent | dev-python/Faker: add 11.3.0 (diff) | |
download | gentoo-f1d7c4c0527c802a550af6a76f2ec8ac5062a820.tar.gz gentoo-f1d7c4c0527c802a550af6a76f2ec8ac5062a820.tar.bz2 gentoo-f1d7c4c0527c802a550af6a76f2ec8ac5062a820.zip |
sys-libs/binutils-libs: use simpler shell test
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sys-libs/binutils-libs')
5 files changed, 5 insertions, 5 deletions
diff --git a/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild index de8fcddd332e..7e32691cabaa 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.34-r2.ebuild @@ -37,7 +37,7 @@ MULTILIB_WRAPPED_HEADERS=( ) src_prepare() { - if [[ ! -z ${PATCH_VER} ]] ; then + if [[ -n ${PATCH_VER} ]] ; then einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" eapply "${WORKDIR}/patch"/*.patch fi diff --git a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild index cf18b9ed65f9..49b5b73255c0 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.35.2.ebuild @@ -39,7 +39,7 @@ MULTILIB_WRAPPED_HEADERS=( ) src_prepare() { - if [[ ! -z ${PATCH_VER} ]] ; then + if [[ -n ${PATCH_VER} ]] ; then einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" eapply "${WORKDIR}/patch"/*.patch fi diff --git a/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild b/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild index 46715c376659..14ef733b104a 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.36.1-r2.ebuild @@ -37,7 +37,7 @@ MULTILIB_WRAPPED_HEADERS=( ) src_prepare() { - if [[ ! -z ${PATCH_VER} ]] ; then + if [[ -n ${PATCH_VER} ]] ; then einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" eapply "${WORKDIR}/patch"/*.patch fi diff --git a/sys-libs/binutils-libs/binutils-libs-2.37_p1-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.37_p1-r1.ebuild index c6195ef2ed9b..c12ce21427b7 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.37_p1-r1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.37_p1-r1.ebuild @@ -38,7 +38,7 @@ MULTILIB_WRAPPED_HEADERS=( ) src_prepare() { - if [[ ! -z ${PATCH_VER} ]] ; then + if [[ -n ${PATCH_VER} ]] ; then einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" eapply "${WORKDIR}/patch"/*.patch fi diff --git a/sys-libs/binutils-libs/binutils-libs-2.37_p1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.37_p1.ebuild index 82bfad52299f..e49b2f9fb7ea 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.37_p1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.37_p1.ebuild @@ -38,7 +38,7 @@ MULTILIB_WRAPPED_HEADERS=( ) src_prepare() { - if [[ ! -z ${PATCH_VER} ]] ; then + if [[ -n ${PATCH_VER} ]] ; then einfo "Applying binutils-${PATCH_BINUTILS_VER} patchset ${PATCH_VER}" eapply "${WORKDIR}/patch"/*.patch fi |