summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-04-24 16:38:51 +0000
committerUlrich Müller <ulm@gentoo.org>2009-04-24 16:38:51 +0000
commit6c5bc925357ea0732ab9574c3e389b84e091d09c (patch)
tree574e97b988f10ac2e38d31eca5610cd288355564
parentNow the quoting should really really be right. (diff)
downloademacs-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.eselect2
-rw-r--r--emacs.eselect2
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")") ]] \