1 |
commit: dec6b1b3be2b497a5c9e6f068f259c02275781c0 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 4 23:27:09 2017 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 4 23:27:21 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dec6b1b3 |
7 |
|
8 |
sys-devel/gcc: fix bash-specific == comparison, bug #639054 |
9 |
|
10 |
Reported-by: Paolo Pedroni |
11 |
Closes: https://bugs.gentoo.org/639054 |
12 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
13 |
|
14 |
sys-devel/gcc/files/fix_libtool_files.sh | 2 +- |
15 |
1 file changed, 1 insertion(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh |
18 |
index 53c46de0fdc..af085e1efa0 100644 |
19 |
--- a/sys-devel/gcc/files/fix_libtool_files.sh |
20 |
+++ b/sys-devel/gcc/files/fix_libtool_files.sh |
21 |
@@ -38,7 +38,7 @@ ARGV3=$3 |
22 |
|
23 |
. /etc/profile || exit 1 |
24 |
|
25 |
-if [ ${EUID:-0} -ne 0 -a "${EPREFIX}" == '' ] ; then |
26 |
+if [ ${EUID:-0} -ne 0 -a "${EPREFIX}" = '' ] ; then |
27 |
echo "${0##*/}: Must be root." |
28 |
exit 1 |
29 |
fi |