diff options
Diffstat (limited to 'shells/bash-completion-classic/files/patch-aa')
-rw-r--r-- | shells/bash-completion-classic/files/patch-aa | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/shells/bash-completion-classic/files/patch-aa b/shells/bash-completion-classic/files/patch-aa deleted file mode 100644 index 001c5448b350..000000000000 --- a/shells/bash-completion-classic/files/patch-aa +++ /dev/null @@ -1,39 +0,0 @@ ---- bash_completion.orig Wed Mar 31 19:45:32 2004 -+++ bash_completion Sat Jun 5 16:53:42 2004 -@@ -31,14 +31,14 @@ - if [ -n "${FUNCNAME:-}" ]; then - # we're being sourced from within a function, so we can't use - # 'declare', as this will create local variables within a function -- BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion} 2>/dev/null -- BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/etc/bash_completion.d} \ -+ BASH_COMPLETION=${BASH_COMPLETION:-/usr/local/etc/bash_completion} 2>/dev/null -+ BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/usr/local/etc/bash_completion.d} \ - 2>/dev/null - else -- declare -r BASH_COMPLETION=${BASH_COMPLETION:-/etc/bash_completion} \ -+ declare -r BASH_COMPLETION=${BASH_COMPLETION:-/usr/local/etc/bash_completion} \ - 2>/dev/null - declare -r \ -- BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/etc/bash_completion.d} \ -+ BASH_COMPLETION_DIR=${BASH_COMPLETION_DIR:=/usr/local/etc/bash_completion.d} \ - 2>/dev/null - fi - -@@ -1056,7 +1056,7 @@ - else - len=${#cur} - idx=0 -- for pval in $( /usr/sbin/postconf -m ); do -+ for pval in $( postconf -m ); do - if [[ "$cur" == "${pval:0:$len}" ]]; then - COMPREPLY[$idx]="$pval:" - idx=$(($idx+1)) -@@ -1132,7 +1132,7 @@ - fi - len=${#cur} - idx=0 -- for pval in $( /usr/sbin/postconf | cut -d ' ' -f 1 ); do -+ for pval in $( postconf | cut -d ' ' -f 1 ); do - if [[ "$cur" == "${pval:0:$len}" ]]; then - COMPREPLY[$idx]="$pval$eqext" - idx=$(($idx+1)) |