aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2015-11-05 17:32:29 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2015-11-05 17:37:29 +0000
commite7180b72c432d32b4c7324dea4ae859084ac08ea (patch)
tree33268b49d8f275a69be2f8a378706779da2e3f27
parent3a86159f735692f805001c8885733472d8a44129 (diff)
downloadpaludis-e7180b72c432d32b4c7324dea4ae859084ac08ea.tar.gz
paludis-e7180b72c432d32b4c7324dea4ae859084ac08ea.tar.xz
Load ebuild modules with extglob on
Bash requires extglob to be on even to parse a function that uses it (at least in some contexts). Such functions still need to use ebuild_need_extglob so it'll be enabled when they actually run, but that doesn't help with the initial parsing.
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index 2aaded1..f3f51c1 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -154,6 +154,7 @@ ebuild_load_module()
echo "Couldn't find module ${1} (looked in ${t})" 1>&2
exit 125
}
+ebuild_need_extglob ebuild_load_module
ebuild_load_module pipe_functions
ebuild_load_module die_functions