diff options
author | Mike Frysinger <vapier@chromium.org> | 2022-01-06 14:13:13 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-01-06 14:21:41 -0500 |
commit | 7d7571d5d819862e37b48a88bca847a757399398 (patch) | |
tree | a667225b18ee61dc6a09d75fc22a55a0f7f60854 /sys-devel | |
parent | sys-libs/binutils-libs: use simpler shell test (diff) | |
download | gentoo-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')
-rw-r--r-- | sys-devel/binutils/binutils-2.32-r2.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.33.1-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.34-r2.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.35.2.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.36.1-r2.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.37_p1-r1.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.37_p1.ebuild | 2 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-9999.ebuild | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/sys-devel/binutils/binutils-2.32-r2.ebuild b/sys-devel/binutils/binutils-2.32-r2.ebuild index 0af482adee3a..40db4705c2a9 100644 --- a/sys-devel/binutils/binutils-2.32-r2.ebuild +++ b/sys-devel/binutils/binutils-2.32-r2.ebuild @@ -97,7 +97,7 @@ src_unpack() { } src_prepare() { - if [[ ! -z ${PATCH_VER} ]] ; then + if [[ -n ${PATCH_VER} ]] ; then # Use upstream patch to enable development mode rm -v "${WORKDIR}/patch"/0000-Gentoo-Git-is-development.patch || die diff --git a/sys-devel/binutils/binutils-2.33.1-r1.ebuild b/sys-devel/binutils/binutils-2.33.1-r1.ebuild index 65720a202f5d..785ea17b6542 100644 --- a/sys-devel/binutils/binutils-2.33.1-r1.ebuild +++ b/sys-devel/binutils/binutils-2.33.1-r1.ebuild @@ -93,7 +93,7 @@ src_unpack() { } 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-devel/binutils/binutils-2.34-r2.ebuild b/sys-devel/binutils/binutils-2.34-r2.ebuild index e6087c134ba8..c61503139101 100644 --- a/sys-devel/binutils/binutils-2.34-r2.ebuild +++ b/sys-devel/binutils/binutils-2.34-r2.ebuild @@ -90,7 +90,7 @@ src_unpack() { } 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-devel/binutils/binutils-2.35.2.ebuild b/sys-devel/binutils/binutils-2.35.2.ebuild index f894e07dec7f..cdb4d4b87ec3 100644 --- a/sys-devel/binutils/binutils-2.35.2.ebuild +++ b/sys-devel/binutils/binutils-2.35.2.ebuild @@ -104,7 +104,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" diff --git a/sys-devel/binutils/binutils-2.36.1-r2.ebuild b/sys-devel/binutils/binutils-2.36.1-r2.ebuild index c1e7c2faf584..faa27e272c6c 100644 --- a/sys-devel/binutils/binutils-2.36.1-r2.ebuild +++ b/sys-devel/binutils/binutils-2.36.1-r2.ebuild @@ -99,7 +99,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" diff --git a/sys-devel/binutils/binutils-2.37_p1-r1.ebuild b/sys-devel/binutils/binutils-2.37_p1-r1.ebuild index 93c7ccdee616..2333d6b11deb 100644 --- a/sys-devel/binutils/binutils-2.37_p1-r1.ebuild +++ b/sys-devel/binutils/binutils-2.37_p1-r1.ebuild @@ -105,7 +105,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" diff --git a/sys-devel/binutils/binutils-2.37_p1.ebuild b/sys-devel/binutils/binutils-2.37_p1.ebuild index d9eb8d68712e..7bac92e076f5 100644 --- a/sys-devel/binutils/binutils-2.37_p1.ebuild +++ b/sys-devel/binutils/binutils-2.37_p1.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" 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" |