path: root/paludis/repositories/e/ebuild/source_functions.bash
AgeCommit message (Collapse)AuthorLines
2015-03-10PWD is a special variable, we should leave its value aloneAvatar Georgi Georgiev -1/+1
Bash sets the value of PWD to the current working directory. It is not a good idea to change that variable without actually changing the directory. This would happen if the working directory changes between saving and loading the environment (saving - when building a PBIN, and loading - when installing it for example), so better let bash handle this variable. Fixes: ticket:1325
2014-05-27Filter BASHPIDAvatar David Leverton -1/+1
Apparently needed for pbins with bash 4.2, according to reports on paludis-user@.
2010-08-21Don't tinker with pipe FDsAvatar Ciaran McCreesh -1/+2
2010-03-14Add hack to code with declare statements in environment.bz2Avatar David Leverton -2/+6
In bash, "declare" executed inside a function magically changes to "local". Recentish versions of Portage use "declare" in environment.bz2, and since we load it back inside a function we need to work around it. Thanks to Brian Harring <ferringb@gmail.com> for reporting and suggesting the fix. See Gentoo#309369
2010-03-10Enable extglob in exheres-0 only.Avatar Bo Ørsted Andresen -0/+15
ebuild_need_extglob is needed early in ebuild.bash. It is also needed in source_functions because that gets loaded by write_binary_ebuild.bash and write_vdb_entry.bash. extglob gets enabled when PALUDIS_SHELL_OPTIONS is unset to make sure things keep working on exheres-0 with old paludis and new ebuild.bash. This is only to keep a clean upgrade path.
2009-12-23Fix env filtering for bash 4.1Avatar Ciaran McCreesh -1/+1
2009-04-27Don't let people change DEFAULT_ things except in global scopeAvatar Ciaran McCreesh -0/+10
2009-02-20Filter IFSAvatar David Leverton -1/+1
2008-07-09Use /usr/bin/env bash instead of /bin/bash for the shebang of shell scripts.Avatar Mike Kelly -1/+1
This should make things run more nicely on systems like FreeBSD, where bash isn't installed in /bin.
2008-05-18Tweak; ever-so-slight speed-up.Avatar David Leverton -2/+2
2008-03-01Tweak.Avatar David Leverton -3/+2
2008-03-01Filter out variables with names that bash doesn't like. See: gentoo#211949Avatar David Leverton -5/+5
2008-01-23Fix typo.Avatar Bo Ørsted Andresen -1/+1
2008-01-19Merge in pbins. Not for real world use.Avatar Ciaran McCreesh -1/+2
2008-01-04Also filter declare statements.Avatar David Leverton -1/+1
2007-12-28Rework environment filtering, removing the need to try to parse bash code ↵Avatar David Leverton -0/+41
with sed.