summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-04-30 06:56:04 +0000
committerZac Medico <zmedico@gentoo.org>2009-04-30 06:56:04 +0000
commit1dde4875c27f6b7ecc4989b5f8bd353930cbd2e4 (patch)
treea1d86beee1b0c5f0d76acd52821a6e97a4e89721
parentNote that only updates to PORTDIR are currently supported. (trunk r13275) (diff)
downloadportage-multirepo-1dde4875c27f6b7ecc4989b5f8bd353930cbd2e4.tar.gz
portage-multirepo-1dde4875c27f6b7ecc4989b5f8bd353930cbd2e4.tar.bz2
portage-multirepo-1dde4875c27f6b7ecc4989b5f8bd353930cbd2e4.zip
Bug #264245 - Revert i|=1 from r13242 since that breaks the array indexing code here.
(trunk r13279) svn path=/main/branches/2.1.6/; revision=13455
-rwxr-xr-xbin/ebuild-helpers/ecompress2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild-helpers/ecompress b/bin/ebuild-helpers/ecompress
index 8b4fb98a..574a1c65 100755
--- a/bin/ebuild-helpers/ecompress
+++ b/bin/ebuild-helpers/ecompress
@@ -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[@]}"