Bug #264245 - Revert i|=1 from r13242 since that breaks the array indexing code here.
authorZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 06:56:04 +0000 (06:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 30 Apr 2009 06:56:04 +0000 (06:56 -0000)
(trunk r13279)

svn path=/main/branches/2.1.6/; revision=13455

bin/ebuild-helpers/ecompress

index 8b4fb98a3a071a329d505871d61f2411bd116fcf..574a1c6570a336c426ce2e1b24110eedb071e6bf 100755 (executable)
@@ -75,7 +75,7 @@ case $1 in
                for x in "$@" ; do
                        [[ ${x##*.} =~ $mask_ext_re ]] && continue
                        filtered_args[$i]=$x
-                       ((i|=1))
+                       ((i++))
                done
                [ $i -eq 0 ] && exit 0
                set -- "${filtered_args[@]}"