]> Pileus Git - ~andy/sunrise/commitdiff
fix typo and make it work
authorStefan Schweizer <genstef@gentoo.org>
Sun, 2 Jul 2006 09:21:23 +0000 (09:21 +0000)
committerStefan Schweizer <genstef@gentoo.org>
Sun, 2 Jul 2006 09:21:23 +0000 (09:21 +0000)
svn path=/sunrise/; revision=417

scripts/sunrise-commit

index def439452abe180bb480abf6078b7d314f1643cb..5ddc19afb0d6c812c921e0ae2c6c6e7cb9485ced 100755 (executable)
@@ -124,7 +124,7 @@ svn_up() {
                        svn update -q || set $?
                fi
                eend ${1:-0}
-               for (( i=$num_new_dirs ; i > 0 ; i++ )) ; do
+               for (( i=$num_new_dirs ; i > 0 ; i-- )) ; do
                        popd >/dev/null
                done
        fi