[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-125-g2758c4f

Ville Skyttä ville.skytta at iki.fi
Mon Feb 4 21:52:04 UTC 2013


The following commit has been merged in the master branch:
commit 2758c4fd7eacafdfd27772e46ccd00731d36931d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Mon Feb 4 23:51:04 2013 +0200

    make: Don't leak $mode.

diff --git a/completions/make b/completions/make
index 5c5b136..3a3d931 100644
--- a/completions/make
+++ b/completions/make
@@ -136,7 +136,7 @@ _make()
 
         # recognise that possible completions are only going to be displayed
         # so only the base name is shown
-        mode=--
+        local mode=--
         if (( COMP_TYPE != 9 )); then
             mode=-d # display-only mode
         fi

-- 
bash-completion



More information about the Bash-completion-commits mailing list