From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1377474-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D704015808B for <garchives@archives.gentoo.org>; Sat, 19 Mar 2022 17:52:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CAFAEE0986; Sat, 19 Mar 2022 17:52:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40C6AE098A for <gentoo-commits@lists.gentoo.org>; Sat, 19 Mar 2022 17:52:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F03534324D for <gentoo-commits@lists.gentoo.org>; Sat, 19 Mar 2022 17:52:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6715D326 for <gentoo-commits@lists.gentoo.org>; Sat, 19 Mar 2022 17:52:17 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1647298320.c3638d2240dce9c4c65a547e5371f7b49c426912.sam@gentoo> Subject: [gentoo-commits] proj/qa-scripts:master commit in: / X-VCS-Repository: proj/qa-scripts X-VCS-Files: check_eclasses_eapis.sh X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c3638d2240dce9c4c65a547e5371f7b49c426912 X-VCS-Branch: master Date: Sat, 19 Mar 2022 17:52:17 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9e014727-4802-4e56-a250-71fe83b9a866 X-Archives-Hash: 38742e8361fbb7cc80aa2f41f3d993f9 commit: c3638d2240dce9c4c65a547e5371f7b49c426912 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Mon Mar 14 22:45:04 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 14 22:52:00 2022 +0000 URL: https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=c3638d22 check_eclasses_eapis.sh: respect ${EROOT} Signed-off-by: Sam James <sam <AT> gentoo.org> check_eclasses_eapis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_eclasses_eapis.sh b/check_eclasses_eapis.sh index 31a2bbb..899b1c3 100755 --- a/check_eclasses_eapis.sh +++ b/check_eclasses_eapis.sh @@ -14,7 +14,7 @@ fi TMPEAPIS="$(mktemp -t $(basename $0).global.tmp.XXXXXX)" TMPECLASS="$(mktemp -t $(basename $0).eclass.tmp.XXXXXX)" -REPO_PATH=$(portageq get_repo_path / gentoo) +REPO_PATH=$(portageq get_repo_path ${EROOT:-/} gentoo) pushd "${REPO_PATH}/eclass" > /dev/null ECLASSES=$(echo *.eclass) popd > /dev/null