Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Michael Weber (xmw)" <xmw@g.o>
Subject: gentoo-x86 commit in www-apps/blazeblogger/files: blazeblogger-1.2.0-bash-completion.patch
Date: Fri, 22 Jun 2012 06:19:51 +0000 (UTC)
xmw         12/06/22 06:19:51

  Added:                blazeblogger-1.2.0-bash-completion.patch
  Log:
  Fix bash-completion (patch provided by poletti.marco@... on bug 417953)
  
  (Portage version: 2.1.10.65/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/blazeblogger/files/blazeblogger-1.2.0-bash-completion.patch?rev=1.1&content-type=text/plain

Index: blazeblogger-1.2.0-bash-completion.patch
===================================================================
--- blazeblogger-1.2.0/unix/bash_completion
+++ blazeblogger-1.2.0/unix/bash_completion
@@ -103,7 +103,7 @@
       # argument completions
       case "$prev" in
         -b|--blogdir)
-          COMPREPLY=( $(compgen -d -- ${cur}) )
+	  _filedir -d
           return 0
           ;;
         *)
@@ -131,7 +131,7 @@
       # argument completions
       case "$prev" in
         -b|--blogdir)
-          COMPREPLY=( $(compgen -d -- ${cur}) )
+	  _filedir -d
           return 0
           ;;
         -E|--editor)
@@ -166,7 +166,7 @@
       # argument completions
       case "$prev" in
         -b|--blogdir)
-          COMPREPLY=( $(compgen -d -- ${cur}) )
+          _filedir -d
           return 0
           ;;
         -d|--date)
@@ -187,7 +187,7 @@
         COMPREPLY=( $(compgen -W "${specopts}" -- ${cur}) )
         return 0
       else
-        COMPREPLY=( $(compgen -f -- ${cur}) )
+        _filedir
         return 0
       fi
       ;;
@@ -200,7 +200,7 @@
       # argument completions
       case "$prev" in
         -b|--blogdir)
-          COMPREPLY=( $(compgen -d -- ${cur}) )
+          _filedir -d
           return 0
           ;;
         -E|--editor)
@@ -227,7 +227,7 @@
       # argument completions
       case "$prev" in
         -b|--blogdir)
-          COMPREPLY=( $(compgen -d -- ${cur}) )
+          _filedir -d
           return 0
           ;;
         *)
@@ -252,7 +252,7 @@
       # argument completions
       case "$prev" in
         -b|--blogdir)
-          COMPREPLY=( $(compgen -d -- ${cur}) )
+          _filedir -d
           return 0
           ;;
         -d|--day)
@@ -292,7 +292,7 @@
       # argument completions
       case "$prev" in
         -b|--blogdir|-d|--destdir)
-          COMPREPLY=( $(compgen -d -- ${cur}) )
+          _filedir -d
           return 0
           ;;
         *)
@@ -315,7 +315,7 @@
       # argument completions
       case "$prev" in
         -b|--blogdir)
-          COMPREPLY=( $(compgen -d -- ${cur}) )
+          _filedir -d
           return 0
           ;;
         -n|--number)





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in www-apps/blazeblogger/files: - New directory
Next by thread:
gentoo-x86 commit in www-apps/blazeblogger: ChangeLog blazeblogger-1.2.0-r1.ebuild
Previous by date:
gentoo-x86 commit in www-apps/blazeblogger/files: - New directory
Next by date:
gentoo-x86 commit in www-apps/blazeblogger: ChangeLog blazeblogger-1.2.0-r1.ebuild


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.