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 04D8E138331 for ; Sat, 31 Mar 2018 06:54:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C1DAE0946; Sat, 31 Mar 2018 06:54:43 +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 05629E0946 for ; Sat, 31 Mar 2018 06:54:42 +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 9081B335D5D for ; Sat, 31 Mar 2018 06:54:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 197FB246 for ; Sat, 31 Mar 2018 06:54:39 +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: <1522440998.16e36c085ce6e9a72690f518baf62852b9196ee7.grobian@gentoo> Subject: [gentoo-commits] proj/portage-utils:master commit in: / X-VCS-Repository: proj/portage-utils X-VCS-Files: main.c X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 16e36c085ce6e9a72690f518baf62852b9196ee7 X-VCS-Branch: master Date: Sat, 31 Mar 2018 06:54:39 +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-Archives-Salt: 66615a4f-bbfb-470c-bc80-49ee62b5e23f X-Archives-Hash: b0453ca4862c90de8cb6de571247dfc5 commit: 16e36c085ce6e9a72690f518baf62852b9196ee7 Author: Fabian Groffen gentoo org> AuthorDate: Fri Mar 30 20:08:34 2018 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Fri Mar 30 20:16:38 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=16e36c08 initialize_portage_env: avoid double prefix for repos.conf location main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index ec903fe..6ed2566 100644 --- a/main.c +++ b/main.c @@ -964,7 +964,7 @@ initialize_portage_env(void) } char *orig_main_overlay = main_overlay; - read_repos_conf(configroot, CONFIG_EPREFIX "etc/portage/repos.conf"); + read_repos_conf(configroot, "/etc/portage/repos.conf"); if (orig_main_overlay != main_overlay) free(orig_main_overlay); if (array_cnt(overlays) == 0)