diff options
author | 2018-06-25 23:28:02 -0400 | |
---|---|---|
committer | 2018-06-25 23:29:37 -0400 | |
commit | 886cc632a0a5a0c4df3b7793b497ddbe8925e357 (patch) | |
tree | 86275cf4d5ad4e2593a41970b678bfedfbb46a0c /eclass/unpacker.eclass | |
parent | sys-apps/dtc: version bump (diff) | |
download | gentoo-886cc632a0a5a0c4df3b7793b497ddbe8925e357.tar.gz gentoo-886cc632a0a5a0c4df3b7793b497ddbe8925e357.tar.bz2 gentoo-886cc632a0a5a0c4df3b7793b497ddbe8925e357.zip |
unpacker.eclass: disable path expansion while parsing SRC_URI #654960
Closes: https://bugs.gentoo.org/654960
Diffstat (limited to 'eclass/unpacker.eclass')
-rw-r--r-- | eclass/unpacker.eclass | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/unpacker.eclass b/eclass/unpacker.eclass index 6e9961206469..c2c69dbc7d6b 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 |