Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 104585 Details for
Bug 158841
genlop bash-completion broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to /usr/share/bash-completion/genlop
genlop.patch (text/plain), 1.54 KB, created by
David Benjamin
on 2006-12-22 08:26:42 UTC
(
hide
)
Description:
patch to /usr/share/bash-completion/genlop
Filename:
MIME Type:
Creator:
David Benjamin
Created:
2006-12-22 08:26:42 UTC
Size:
1.54 KB
patch
obsolete
>--- genlop.old 2006-12-22 10:54:24.000000000 -0500 >+++ genlop 2006-12-22 11:12:44.000000000 -0500 >@@ -17,13 +17,13 @@ > origdir="${PWD}" > COMPREPLY=() > portagedir="$( (source /etc/make.conf; echo ${PORTDIR}) )" >- if [ ${portagedir} = "" ]; then >+ if [ "${portagedir}" = "" ]; then > portagedir=/usr/portage > fi > cur="${COMP_WORDS[COMP_CWORD]}" > > cd "${portagedir}" >- grepcmd="grep -E ^${cur}.*" >+ grepcmd="grep -e ^${cur}.*" > sedcmd="sed -e /^[^-]*$/d" > case "$cur" in > -*) >@@ -33,12 +33,12 @@ > ;; > *) > if [ "${cur}" ]; then >- if [ $(echo "${cur}" | grep '/') ]; then >+ if [ "$(echo "${cur}" | grep '/')" ]; then > setbig=$(compgen -G "${cur}*" | ${sedcmd})"${systemactions}" > COMPREPLY=($(echo "${setbig}" | $grepcmd)) > else > setsma=$(compgen -S '/' -G "${cur}*" | ${sedcmd})"${systemactions}" >- if [ $(echo "${setsma}" | ${grepcmd} | grep '/' | wc -l) = 1 ]; then >+ if [ "$(echo "${setsma}" | ${grepcmd} | grep '/' | wc -l)" = 1 ]; then > setbig=$(compgen -G "*/*" | ${sedcmd})"${systemactions}" > COMPREPLY=($(echo "${setbig}" | ${grepcmd})) > else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 158841
: 104585