pld-ftp-admin: shell/bash_completion.sh - do not leak i

glen glen at pld-linux.org
Wed Feb 2 10:27:03 CET 2011


Author: glen                         Date: Wed Feb  2 09:27:03 2011 GMT
Module: pld-ftp-admin                 Tag: HEAD
---- Log message:
- do not leak i

---- Files affected:
pld-ftp-admin/shell:
   bash_completion.sh (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: pld-ftp-admin/shell/bash_completion.sh
diff -u pld-ftp-admin/shell/bash_completion.sh:1.1 pld-ftp-admin/shell/bash_completion.sh:1.2
--- pld-ftp-admin/shell/bash_completion.sh:1.1	Wed Feb  2 10:26:00 2011
+++ pld-ftp-admin/shell/bash_completion.sh	Wed Feb  2 10:26:58 2011
@@ -21,7 +21,7 @@
 
 # return list of files in a tree
 _pld_ftp_tree_files() {
-    local tree="$1" cur="$2" file
+    local tree="$1" cur="$2" file i
     local dir=~/ftp/$tree/SRPMS/.metadata
 
     # generate reply from dir
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/shell/bash_completion.sh?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list