From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E89D913835A for ; Tue, 8 Jun 2021 06:18:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0AF2AE0844; Tue, 8 Jun 2021 06:18:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9AAEFE083E for ; Tue, 8 Jun 2021 06:18:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01F0734095A for ; Tue, 8 Jun 2021 06:18:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 600F7797 for ; Tue, 8 Jun 2021 06:18:37 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1623133063.2dfc27192fbe00e4661ca06a0b18f09a4137dd50.grobian@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 2dfc27192fbe00e4661ca06a0b18f09a4137dd50 X-VCS-Branch: master Date: Tue, 8 Jun 2021 06:18:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b8e55f1c-bace-4f4c-bbb9-f2c04014db46 X-Archives-Hash: e9ed7570dd962d07bd0bacc857706c89 commit: 2dfc27192fbe00e4661ca06a0b18f09a4137dd50 Author: Fabian Groffen gentoo org> AuthorDate: Tue Jun 8 06:17:43 2021 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Tue Jun 8 06:17:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=2dfc2719 scripts/bootstrap-prefix: try to get gcc wrapper fixed on PATH Bug: https://bugs.gentoo.org/794709 Signed-off-by: Fabian Groffen gentoo.org> scripts/bootstrap-prefix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index 566d692a19..d1108e6eac 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1477,7 +1477,7 @@ bootstrap_stage1() { cat >> "${ROOT}"/tmp/usr/local/bin/gcc <<-EOF #! /bin/sh PATH="${ORIGINAL_PATH}" export PATH - exec "\${0##*/}" "\$@" + exec "$(type -P gcc)" "\$@" EOF cp "${ROOT}"/tmp/usr/local/bin/g{cc,++} chmod 755 "${ROOT}"/tmp/usr/local/bin/g{cc,++}