app-i18n/enca: use common notation in string comparisons in 1.19-r1
authorIlya Tumaykin <itumaykin@gmail.com>
Sat, 21 Jan 2017 15:19:43 +0000 (18:19 +0300)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 29 Jan 2017 17:01:27 +0000 (04:01 +1100)
Prevents me from trying to remember why it wasn't done the usual way.
The reason is still unknown, because this is a ditto change:
https://www.gnu.org/software/bash/manual/html_node/Conditional-Constructs.html

Package-Manager: Portage-2.3.3, Repoman-2.3.1

app-i18n/enca/enca-1.19-r1.ebuild

index b9cf4b79456d8e14c945223849a0d436f217da13..8fbddd15cc3d45ada74bcfa9c193377ee8f21142 100644 (file)
@@ -41,7 +41,7 @@ src_prepare() {
 
 multilib_src_configure() {
        # Workaround GCC-4.8 brokenness. See Gentoo bug 501386.
-       if tc-is-gcc && [[ $(gcc-version) = '4.8' ]]; then
+       if tc-is-gcc && [[ $(gcc-version) == "4.8" ]]; then
                replace-flags -O[3-9] -O2
        fi