diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2005-07-23 11:34:23 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2005-07-23 11:34:23 +0000 |
commit | 72a0fba4657f0baed58a35240c13e03619fb4b2c (patch) | |
tree | 07bdf85f45e24141448c9f007307579910fa5e2d /libs/config.bash.in | |
parent | 2005-07-19 Danny van Dyk <kugelfang@gentoo.org> (diff) | |
download | eselect-72a0fba4657f0baed58a35240c13e03619fb4b2c.tar.gz eselect-72a0fba4657f0baed58a35240c13e03619fb4b2c.tar.bz2 eselect-72a0fba4657f0baed58a35240c13e03619fb4b2c.zip |
2005-07-23 Danny van Dyk <kugelfang@gentoo.org>
* libs/config.bash.in: Fixed a condition in store_config as it needs at
least 2 parameters, not 3.
* modules/env.eselect: Removed check on storing empty vars. Added
support for updating ld.so.cache. Added a mtime database for all items
of LDPATH.
diffstat:
libs/config.bash.in | 2 +-
modules/env.eselect | 39 ++++++++++++++++++++++++++++++++-------
2 files changed, 33 insertions(+), 8 deletions(-)
svn path=/trunk/; revision=163
Diffstat (limited to 'libs/config.bash.in')
-rw-r--r-- | libs/config.bash.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/config.bash.in b/libs/config.bash.in index 2acf95c..9efdf65 100644 --- a/libs/config.bash.in +++ b/libs/config.bash.in @@ -21,7 +21,7 @@ # Stores a $key/$value pair for given module in $configfile store_config() { # we need at least "module" and "key" - [[ ${#@} -gt 2 ]] || die + [[ ${#@} -ge 2 ]] || die local configfile=${1} key=${2} value content vars line="" changed=0 shift 2 value=${@} |