[110206] trunk/dports/sysutils/bash-completion
raimue at macports.org
raimue at macports.org
Wed Aug 28 07:57:17 PDT 2013
Revision: 110206
https://trac.macports.org/changeset/110206
Author: raimue at macports.org
Date: 2013-08-28 07:57:17 -0700 (Wed, 28 Aug 2013)
Log Message:
-----------
sysutils/bash-completion:
Forgot to add updated patch in r110205, syncing from bash-completion-devel.
Revision Links:
--------------
https://trac.macports.org/changeset/110205
Modified Paths:
--------------
trunk/dports/sysutils/bash-completion/Portfile
trunk/dports/sysutils/bash-completion/files/patch-_known_hosts_real.diff
Modified: trunk/dports/sysutils/bash-completion/Portfile
===================================================================
--- trunk/dports/sysutils/bash-completion/Portfile 2013-08-28 14:54:20 UTC (rev 110205)
+++ trunk/dports/sysutils/bash-completion/Portfile 2013-08-28 14:57:17 UTC (rev 110206)
@@ -6,7 +6,7 @@
conflicts bash-completion-devel
epoch 1
version 2.1
-revision 4
+revision 5
categories sysutils
platforms darwin
supported_archs noarch
Modified: trunk/dports/sysutils/bash-completion/files/patch-_known_hosts_real.diff
===================================================================
--- trunk/dports/sysutils/bash-completion/files/patch-_known_hosts_real.diff 2013-08-28 14:54:20 UTC (rev 110205)
+++ trunk/dports/sysutils/bash-completion/files/patch-_known_hosts_real.diff 2013-08-28 14:57:17 UTC (rev 110206)
@@ -6,7 +6,7 @@
# append any available aliases from config files
if [[ ${#config[@]} -gt 0 && -n "$aliases" ]]; then
- local hosts=$( sed -ne 's/^[ \t]*[Hh][Oo][Ss][Tt]\([Nn][Aa][Mm][Ee]\)\{0,1\}['"$'\t '"']\{1,\}\([^#*?]*\)\(#.*\)\{0,1\}$/\2/p' "${config[@]}" )
-+ local hosts=$( sed -ne 's/^['"$'\t '"']*[Hh][Oo][Ss][Tt]\([Nn][Aa][Mm][Ee]\)\{0,1\}['"$'\t '"']\{1,\}\([^#*?]*\)\(#.*\)\{0,1\}$/\2/p' "${config[@]}" )
++ local hosts=$( sed -ne 's/^['$'\t '']*[Hh][Oo][Ss][Tt]\([Nn][Aa][Mm][Ee]\)\{0,1\}['$'\t '']\{1,\}\([^#*?]*\)\(#.*\)\{0,1\}$/\2/p' "${config[@]}" )
COMPREPLY+=( $( compgen -P "$prefix$user" \
-S "$suffix" -W "$hosts" -- "$cur" ) )
fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130828/8693fbec/attachment.html>
More information about the macports-changes
mailing list