public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Hüttel" <dilfridge@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc/files/
Date: Mon,  2 Oct 2017 22:23:28 +0000 (UTC)	[thread overview]
Message-ID: <1506982990.3ee9d48fff5698bc024a307f01383546025d8f6b.dilfridge@gentoo> (raw)

commit:     3ee9d48fff5698bc024a307f01383546025d8f6b
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  2 22:22:55 2017 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Oct  2 22:23:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ee9d48f

sys-devel/gcc: fix_libtool_files.sh: do not require to be root on prefix, bug 607900

Closes: https://bugs.gentoo.org/607900
Package-Manager: Portage-2.3.10, Repoman-2.3.3

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

diff --git a/sys-devel/gcc/files/fix_libtool_files.sh b/sys-devel/gcc/files/fix_libtool_files.sh
index 2b818ce66d0..ad137a9866f 100644
--- a/sys-devel/gcc/files/fix_libtool_files.sh
+++ b/sys-devel/gcc/files/fix_libtool_files.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 usage() {
@@ -39,6 +39,7 @@ ARGV3=$3
 . /etc/profile || exit 1
 
 if [ ${EUID:-0} -ne 0 ] ; then
+if [ ${EUID:-0} -ne 0   -a   "${EPREFIX}" == '' ] ; then
 	echo "${0##*/}: Must be root."
 	exit 1
 fi


             reply	other threads:[~2017-10-02 22:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-02 22:23 Andreas Hüttel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-06 18:43 [gentoo-commits] repo/gentoo:master commit in: sys-devel/gcc/files/ Andreas Hüttel
2017-12-04 23:27 Sergei Trofimovich
2019-05-09 22:39 Sergei Trofimovich
2020-05-21  8:22 Sergei Trofimovich
2022-08-30 22:57 Conrad Kostecki
2023-04-14  1:06 Sam James
2023-05-11 20:28 Conrad Kostecki
2023-05-31 16:37 Conrad Kostecki
2023-09-25  2:21 Sam James
2023-10-27  3:32 Sam James
2023-11-22 12:08 Sam James
2024-03-07 18:39 Sam James
2024-04-18 19:32 Conrad Kostecki
2024-05-26 21:31 Conrad Kostecki
2024-06-10 15:41 Sam James
2024-10-04  8:27 Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1506982990.3ee9d48fff5698bc024a307f01383546025d8f6b.dilfridge@gentoo \
    --to=dilfridge@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox