commit:     dec6b1b3be2b497a5c9e6f068f259c02275781c0
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  4 23:27:09 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Mon Dec  4 23:27:21 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec6b1b3

sys-devel/gcc: fix bash-specific == comparison, bug #639054

Reported-by: Paolo Pedroni
Closes: https://bugs.gentoo.org/639054
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-devel/gcc/files/fix_libtool_files.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/gcc/files/fix_libtool_files.sh 
b/sys-devel/gcc/files/fix_libtool_files.sh
index 53c46de0fdc..af085e1efa0 100644
--- a/sys-devel/gcc/files/fix_libtool_files.sh
+++ b/sys-devel/gcc/files/fix_libtool_files.sh
@@ -38,7 +38,7 @@ ARGV3=$3
 
 . /etc/profile || exit 1
 
-if [ ${EUID:-0} -ne 0   -a   "${EPREFIX}" == '' ] ; then
+if [ ${EUID:-0} -ne 0   -a   "${EPREFIX}" = '' ] ; then
        echo "${0##*/}: Must be root."
        exit 1
 fi

Reply via email to