diff options
author | 2005-05-07 16:33:02 +0000 | |
---|---|---|
committer | 2005-05-07 16:33:02 +0000 | |
commit | 7769cb6e59218205ac38123a5cc0e0061bfe25ef (patch) | |
tree | e0a9a29e1673fae149b5a258ab073cce197ec5e0 /libs | |
parent | Renoved "-symlink" from all module names and eliminated references in manpage... (diff) | |
download | eselect-7769cb6e59218205ac38123a5cc0e0061bfe25ef.tar.gz eselect-7769cb6e59218205ac38123a5cc0e0061bfe25ef.tar.bz2 eselect-7769cb6e59218205ac38123a5cc0e0061bfe25ef.zip |
fix bug in has
svn path=/trunk/; revision=32
Diffstat (limited to 'libs')
-rw-r--r-- | libs/core.bash.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/core.bash.in b/libs/core.bash.in index 9077565..e4b46e2 100644 --- a/libs/core.bash.in +++ b/libs/core.bash.in @@ -104,7 +104,7 @@ do_action() { # has varname item has() { - local var=${!1} item + local var=${1} item for item in ${var} ; do [[ ${item} == ${2} ]] && return 0 done |