diff options
author | Aron Griffis <agriffis@gentoo.org> | 2006-11-22 17:45:47 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2006-11-22 17:45:47 +0000 |
commit | e946df46dca6bc300591a8f19f6432343325bdbf (patch) | |
tree | 822152b255bdde3f6bedab34dc3aaaf0fcc96aaa /sys-kernel/genkernel | |
parent | Add metadata.xml (diff) | |
download | gentoo-2-e946df46dca6bc300591a8f19f6432343325bdbf.tar.gz gentoo-2-e946df46dca6bc300591a8f19f6432343325bdbf.tar.bz2 gentoo-2-e946df46dca6bc300591a8f19f6432343325bdbf.zip |
Minor gotcha in genkernel.bash
(Portage version: 2.1.2_pre3-r1)
Diffstat (limited to 'sys-kernel/genkernel')
-rw-r--r-- | sys-kernel/genkernel/files/genkernel.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/genkernel/files/genkernel.bash b/sys-kernel/genkernel/files/genkernel.bash index bb326c87d3a9..ed6b1c16604e 100644 --- a/sys-kernel/genkernel/files/genkernel.bash +++ b/sys-kernel/genkernel/files/genkernel.bash @@ -65,7 +65,7 @@ _genkernel() # recreate COMPREPLY if [[ $cur == "$lhs"* ]]; then COMPREPLY=( "${args[@]}" ) - else + elif [[ ${#args[@]} -gt 0 ]]; then COMPREPLY=( "${args[@]/#/$lhs}" ) fi } |