commit: 5322648477d6ec82ac3df70de925902acbd1cc3f Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Tue Dec 31 08:43:41 2024 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Tue Dec 31 08:43:41 2024 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=53226484
ebuild.sh: A colon in sandbox function args is an error Bug: https://bugs.gentoo.org/920654 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> bin/ebuild.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index a742397db9..002dcf783d 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Prevent aliases from causing portage to act inappropriately. @@ -163,9 +163,7 @@ __sb_append_var() { local _v=$1 ; shift local var="SANDBOX_${_v}" [[ $# -eq 1 ]] || die "Usage: add${_v,,} <path>" - # Make this fatal after 2024-12-31 - [[ ${1} == *:* ]] \ - && eqawarn "QA Notice: add${_v,,} called with colon-separated argument" + [[ ${1} == *:* ]] && die "add${_v,,} argument must not contain a colon" export ${var}="${!var:+${!var}:}$1" } # bash-4 version:
