commit: 886cc632a0a5a0c4df3b7793b497ddbe8925e357 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Tue Jun 26 03:28:02 2018 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Tue Jun 26 03:29:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=886cc632
unpacker.eclass: disable path expansion while parsing SRC_URI #654960 Closes: https://bugs.gentoo.org/654960 eclass/unpacker.eclass | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 6e996120646..c2c69dbc7d6 100644 --- a/eclass/unpacker.eclass +++ b/eclass/unpacker.eclass @@ -433,7 +433,12 @@ unpacker_src_unpack() { unpacker_src_uri_depends() { local uri deps d - [[ $# -eq 0 ]] && set -- ${SRC_URI} + if [[ $# -eq 0 ]] ; then + # Disable path expansion for USE conditionals. #654960 + set -f + set -- ${SRC_URI} + set +f + fi for uri in "$@" ; do case ${uri} in
