summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/unpacker.eclass7
1 files changed, 6 insertions, 1 deletions
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