[82404] trunk/dports/sysutils/bash-completion/Portfile

raimue at macports.org raimue at macports.org
Sat Aug 13 06:46:25 PDT 2011


Revision: 82404
          http://trac.macports.org/changeset/82404
Author:   raimue at macports.org
Date:     2011-08-13 06:46:21 -0700 (Sat, 13 Aug 2011)
Log Message:
-----------
sysutils/bash-completion:
Revert r82253, see discussion on #30664

Revision Links:
--------------
    http://trac.macports.org/changeset/82253

Modified Paths:
--------------
    trunk/dports/sysutils/bash-completion/Portfile

Modified: trunk/dports/sysutils/bash-completion/Portfile
===================================================================
--- trunk/dports/sysutils/bash-completion/Portfile	2011-08-13 12:42:40 UTC (rev 82403)
+++ trunk/dports/sysutils/bash-completion/Portfile	2011-08-13 13:46:21 UTC (rev 82404)
@@ -5,7 +5,7 @@
 name            bash-completion
 epoch           1
 version         1.3
-revision        2
+revision        3
 categories      sysutils
 platforms       darwin
 supported_archs noarch
@@ -37,13 +37,8 @@
 
 notes "
 To use bash_completion, add the following lines at the end of your .bash_profile:
-  if \[ -d $prefix/etc/profile.d ]; then
-    for i in $prefix/etc/profile.d/*.sh; do
-      if \[ -r \$i ]; then
-        . \$i
-      fi
-    done
-    unset i
+  if \[ -f ${prefix}/etc/bash_completion ]; then
+      . ${prefix}/etc/bash_completion
   fi
 "
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110813/dc60eeb3/attachment.html>


More information about the macports-changes mailing list