diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-09-21 21:03:05 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-09-21 21:03:05 +0200 |
commit | 6ee701eb65fbfc00cbf6ebc16de2d6487ba2cfd7 (patch) | |
tree | bd88f1bbac16d9ffe78341f896a9dafd94306a87 /bin/ebuild.sh | |
parent | a574fd9e6f81a0a072cbaf34c6bd45ad7942cc94 (diff) | |
download | portage-6ee701eb65fbfc00cbf6ebc16de2d6487ba2cfd7.tar.gz portage-6ee701eb65fbfc00cbf6ebc16de2d6487ba2cfd7.tar.bz2 portage-6ee701eb65fbfc00cbf6ebc16de2d6487ba2cfd7.zip |
Support EAPI="5-progress".
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index a6ff45301..79da2b518 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -26,7 +26,7 @@ else __strip_duplicate_slashes \ use_with use_enable ; do eval "${x}() { - if has \"\${EAPI:-0}\" 4-python; then + if has \"\${EAPI:-0}\" 4-python 5-progress; then die \"\${FUNCNAME}() calls are not allowed in global scope\" fi }" @@ -35,7 +35,7 @@ else # `use multislot` is false for the "depend" phase. for x in use useq usev usex ; do eval "${x}() { - if has \"\${EAPI:-0}\" 4-python; then + if has \"\${EAPI:-0}\" 4-python 5-progress; then die \"\${FUNCNAME}() calls are not allowed in global scope\" else return 1 @@ -506,7 +506,7 @@ if ! has "$EBUILD_PHASE" clean cleanrm depend && \ [[ -n $EAPI ]] || EAPI=0 fi -if has "${EAPI:-0}" 4-python; then +if has "${EAPI:-0}" 4-python 5-progress; then shopt -s globstar fi |