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 6CC9A1382C5 for ; Thu, 27 May 2021 19:27:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70273E095E; Thu, 27 May 2021 19:27:08 +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 57ED2E0880 for ; Thu, 27 May 2021 19:27:08 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 2EB173408A6 for ; Thu, 27 May 2021 19:27:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A848C59C for ; Thu, 27 May 2021 19:27:05 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1622142920.a6094dbb3a288bd728d554953f44761167466466.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-8 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-format.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a6094dbb3a288bd728d554953f44761167466466 X-VCS-Branch: eapi-8 Date: Thu, 27 May 2021 19:27:05 +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: 58a25a48-8f05-4edc-8345-3b2a61acb3df X-Archives-Hash: 62d538f5cb07809dacca5839f74585f3 commit: a6094dbb3a288bd728d554953f44761167466466 Author: Ulrich Müller gentoo org> AuthorDate: Tue May 25 15:59:13 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Thu May 27 19:15:20 2021 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=a6094dbb Ban nameref variables from exported and default scope Bug: https://bugs.gentoo.org/636652 Signed-off-by: Ulrich Müller gentoo.org> ebuild-format.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ebuild-format.tex b/ebuild-format.tex index 4929ba4..25ba28e 100644 --- a/ebuild-format.tex +++ b/ebuild-format.tex @@ -11,6 +11,8 @@ compatibility settings (e.\,g.\ the \t{BASH_COMPAT} variable) are not exported t option of bash is set in the global scope of ebuilds. If set, failed pattern matches during filename expansion result in an error when the ebuild is being sourced. +Name reference variables (introduced in bash version~4.3) must not be used, except in local scope. + The file encoding must be UTF-8 with Unix-style newlines. When sourced, the ebuild must define certain variables and functions (see chapters~\ref{ch:ebuild-vars} and~\ref{ch:ebuild-functions} for specific information), and must not call any external programs, write anything to standard