diff options
author | 2009-04-24 16:38:51 +0000 | |
---|---|---|
committer | 2009-04-24 16:38:51 +0000 | |
commit | 6c5bc925357ea0732ab9574c3e389b84e091d09c (patch) | |
tree | 574e97b988f10ac2e38d31eca5610cd288355564 | |
parent | Now the quoting should really really be right. (diff) | |
download | emacs-tools-6c5bc925357ea0732ab9574c3e389b84e091d09c.tar.gz emacs-tools-6c5bc925357ea0732ab9574c3e389b84e091d09c.tar.bz2 emacs-tools-6c5bc925357ea0732ab9574c3e389b84e091d09c.zip |
Use post-increment.
svn path=/eselect-emacs/; revision=1267
-rw-r--r-- | ctags.eselect | 2 | ||||
-rw-r--r-- | emacs.eselect | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ctags.eselect b/ctags.eselect index 07c386d..ac82953 100644 --- a/ctags.eselect +++ b/ctags.eselect @@ -147,7 +147,7 @@ do_list() { write_list_start "Available ${CTAGS} symlink targets:" if [[ -n ${targets[@]} ]]; then - for (( i = 0; i < ${#targets[@]}; i = i + 1 )); do + for (( i = 0; i < ${#targets[@]}; i++ )); do # Display a star to indicate the currently chosen version [[ ${targets[i]} = \ $(basename "$(readlink "${ROOT}${bindir}/${CTAGS}")") ]] \ diff --git a/emacs.eselect b/emacs.eselect index 78abd12..c501592 100644 --- a/emacs.eselect +++ b/emacs.eselect @@ -189,7 +189,7 @@ do_list() { write_list_start "Available Emacs symlink targets:" if [[ -n ${targets[@]} ]]; then - for (( i = 0; i < ${#targets[@]}; i = i + 1 )); do + for (( i = 0; i < ${#targets[@]}; i++ )); do # Display a star to indicate the currently chosen version [[ ${targets[i]} = \ $(basename "$(readlink "${ROOT}${bindir}/emacs")") ]] \ |