summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-12-04 23:27:09 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-12-04 23:27:21 +0000
commitdec6b1b3be2b497a5c9e6f068f259c02275781c0 (patch)
tree3d73b15e7a691744172d1eaad63b1b41d114e96a /sys-devel
parentnet-misc/cfengine: protect masterfiles. (diff)
downloadgentoo-dec6b1b3be2b497a5c9e6f068f259c02275781c0.tar.gz
gentoo-dec6b1b3be2b497a5c9e6f068f259c02275781c0.tar.bz2
gentoo-dec6b1b3be2b497a5c9e6f068f259c02275781c0.zip
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
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc/files/fix_libtool_files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh
index 53c46de0fdc9..af085e1efa01 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