[devscripts] 01/01: uupdate: fix bash completion

Osamu Aoki osamu at moszumanska.debian.org
Fri Jan 12 09:15:25 UTC 2018


This is an automated email from the git hooks/post-receive script.

osamu pushed a commit to branch master
in repository devscripts.

commit 658f8650f139ad302f888acb2910b819dfce3e3f
Author: Osamu Aoki <osamu at debian.org>
Date:   Fri Jan 12 18:11:39 2018 +0900

    uupdate: fix bash completion
    
    Thanks Julian Gilbey <jdg at debian.org>
    Closes: #834006
    
    Signed-off-by: Osamu Aoki <osamu at debian.org>
---
 debian/changelog                | 3 +++
 scripts/uupdate.bash_completion | 5 ++++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0c16b21..0c44070 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -16,6 +16,9 @@ devscripts (2.18.1) UNRELEASED; urgency=medium
     + Avoid using L<> with emails in the POD documentation, so it can be built
       with an older pod as well.
 
+  [ Osamu Aoki ]
+  * uupdate: bash completion fix by Julian Gilbey.  Closes: #834006 
+
  -- Mattia Rizzolo <mattia at debian.org>  Wed, 03 Jan 2018 14:31:54 +0100
 
 devscripts (2.17.12) unstable; urgency=medium
diff --git a/scripts/uupdate.bash_completion b/scripts/uupdate.bash_completion
index 142c2fe..7ef6dd9 100644
--- a/scripts/uupdate.bash_completion
+++ b/scripts/uupdate.bash_completion
@@ -25,9 +25,12 @@ _uupdate()
             ;;
         --help | -h | --version)
            ;;
-        *)
+        -*)
             COMPREPLY=( $( compgen -W "$options" | grep "^$cur" ) )
             ;;
+        *)
+            _filedir
+            ;;
     esac
 
     return 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git



More information about the devscripts-devel mailing list