commit:     a971a53c94485d66d0e0345e34a298099ab9ec36
Author:     NP-Hardass <NP-Hardass <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  9 17:36:10 2016 +0000
Commit:     NP Hardass <np-hardass <AT> gentoo <DOT> org>
CommitDate: Sat Apr  9 18:14:46 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a971a53c

app-emulation/wine: Fix logic evaluation order

Package-Manager: portage-2.2.26

 app-emulation/wine/wine-1.8.1.ebuild | 3 ++-
 app-emulation/wine/wine-1.9.6.ebuild | 3 ++-
 app-emulation/wine/wine-1.9.7.ebuild | 3 ++-
 app-emulation/wine/wine-9999.ebuild  | 3 ++-
 4 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/app-emulation/wine/wine-1.8.1.ebuild 
b/app-emulation/wine/wine-1.8.1.ebuild
index 466e8f5..1d2d4c8 100644
--- a/app-emulation/wine/wine-1.8.1.ebuild
+++ b/app-emulation/wine/wine-1.8.1.ebuild
@@ -269,8 +269,9 @@ src_prepare() {
                eend $?
 
                # To differentiate unofficial staging releases
-               [[ ! -z ${SUFFIX} ]] && \
+               if [[ ! -z ${SUFFIX} ]]; then
                        sed -i "s/(Staging)/(Staging [Unofficial])/" 
libs/wine/Makefile.in || die
+               fi
        fi
 
        default

diff --git a/app-emulation/wine/wine-1.9.6.ebuild 
b/app-emulation/wine/wine-1.9.6.ebuild
index 89b9b23..e735b28 100644
--- a/app-emulation/wine/wine-1.9.6.ebuild
+++ b/app-emulation/wine/wine-1.9.6.ebuild
@@ -265,8 +265,9 @@ src_prepare() {
                eend $?
 
                # To differentiate unofficial staging releases
-               [[ ! -z ${SUFFIX} ]] && \
+               if [[ ! -z ${SUFFIX} ]]; then
                        sed -i "s/(Staging)/(Staging [Unofficial])/" 
libs/wine/Makefile.in || die
+               fi
        fi
 
        autotools-utils_src_prepare

diff --git a/app-emulation/wine/wine-1.9.7.ebuild 
b/app-emulation/wine/wine-1.9.7.ebuild
index 89b9b23..e735b28 100644
--- a/app-emulation/wine/wine-1.9.7.ebuild
+++ b/app-emulation/wine/wine-1.9.7.ebuild
@@ -265,8 +265,9 @@ src_prepare() {
                eend $?
 
                # To differentiate unofficial staging releases
-               [[ ! -z ${SUFFIX} ]] && \
+               if [[ ! -z ${SUFFIX} ]]; then
                        sed -i "s/(Staging)/(Staging [Unofficial])/" 
libs/wine/Makefile.in || die
+               fi
        fi
 
        autotools-utils_src_prepare

diff --git a/app-emulation/wine/wine-9999.ebuild 
b/app-emulation/wine/wine-9999.ebuild
index 89b9b23..e735b28 100644
--- a/app-emulation/wine/wine-9999.ebuild
+++ b/app-emulation/wine/wine-9999.ebuild
@@ -265,8 +265,9 @@ src_prepare() {
                eend $?
 
                # To differentiate unofficial staging releases
-               [[ ! -z ${SUFFIX} ]] && \
+               if [[ ! -z ${SUFFIX} ]]; then
                        sed -i "s/(Staging)/(Staging [Unofficial])/" 
libs/wine/Makefile.in || die
+               fi
        fi
 
        autotools-utils_src_prepare

Reply via email to