diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-05-05 18:00:57 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2012-05-05 18:00:57 +0200 |
commit | e3d3ff4f22f5e41f12b2518d23ebea354a006b7b (patch) | |
tree | bef99883ff87313f975ebed8d558cadd6470965b | |
parent | 72314d2e24aa96af614b052b8b29e6d02d37a641 (diff) | |
download | portage-e3d3ff4f22f5e41f12b2518d23ebea354a006b7b.tar.gz portage-e3d3ff4f22f5e41f12b2518d23ebea354a006b7b.tar.bz2 portage-e3d3ff4f22f5e41f12b2518d23ebea354a006b7b.zip |
Enable globstar shell option by default in EAPI="4-python".
-rwxr-xr-x | bin/ebuild.sh | 4 | ||||
-rw-r--r-- | doc/package/ebuild/eapi/4-python.docbook | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 173865cde..32dc64f0c 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -512,6 +512,10 @@ if ! has "$EBUILD_PHASE" clean cleanrm depend && \ [[ -n $EAPI ]] || EAPI=0 fi +if has "${EAPI:-0}" 4-python; then + shopt -s globstar +fi + if ! has "$EBUILD_PHASE" clean cleanrm ; then if [[ $EBUILD_PHASE = depend || ! -f $T/environment || \ -f $PORTAGE_BUILDDIR/.ebuild_changed ]] || \ diff --git a/doc/package/ebuild/eapi/4-python.docbook b/doc/package/ebuild/eapi/4-python.docbook index b4cbc1ad4..99ad197ac 100644 --- a/doc/package/ebuild/eapi/4-python.docbook +++ b/doc/package/ebuild/eapi/4-python.docbook @@ -31,6 +31,12 @@ official EAPI 4-python Specification</ulink>. The "." character is allowed in USE flags. </para> </section> +<section id='package-ebuild-eapi-4-python-globstar'> +<title>globstar shell option enabled by default</title> +<para> +globstar shell option is enabled by default, which enables recursive expansion of ** pattern in pathname expansion context. +</para> +</section> <section id='package-ebuild-eapi-4-python-repository-variable'> <title>REPOSITORY Variable</title> <para> |