aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2009-03-11 19:12:46 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2009-03-11 19:18:04 +0000
commit58228fc869b5e1c0772a60b3b9b8d69066eba18d (patch)
treede43049136906a0d5e8a19c3f90c3a9e20fef85c
parente00d700edbbe61235fba480c26da58a2bdf07246 (diff)
downloadpaludis-58228fc869b5e1c0772a60b3b9b8d69066eba18d.tar.gz
paludis-58228fc869b5e1c0772a60b3b9b8d69066eba18d.tar.xz
Need extglob to parse the environment file
-rw-r--r--paludis/repositories/e/e_installed_repository.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/e/e_installed_repository.cc b/paludis/repositories/e/e_installed_repository.cc
index 2a3328e..cc6d385 100644
--- a/paludis/repositories/e/e_installed_repository.cc
+++ b/paludis/repositories/e/e_installed_repository.cc
@@ -232,7 +232,7 @@ EInstalledRepository::get_environment_variable(
{
std::stringstream p;
Command cmd(Command("bash -c '( bunzip2 < " + stringify(ver_dir / "environment.bz2" ) +
- " ; echo echo \\$" + var + " ) | bash 2>/dev/null'").with_captured_stdout_stream(&p));
+ " ; echo echo \\$" + var + " ) | bash -O extglob 2>/dev/null'").with_captured_stdout_stream(&p));
int exit_status(run_command(cmd));
std::string result(strip_trailing_string(std::string(
(std::istreambuf_iterator<char>(p)),