Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13279 - main/trunk/bin/ebuild-helpers
Date: Thu, 02 Apr 2009 17:48:34
Message-Id: E1LpR1k-0004xU-B6@stork.gentoo.org
1 Author: zmedico
2 Date: 2009-04-02 17:48:31 +0000 (Thu, 02 Apr 2009)
3 New Revision: 13279
4
5 Modified:
6 main/trunk/bin/ebuild-helpers/ecompress
7 Log:
8 Bug #264245 - Revert i|=1 from r13242 since that breaks the array indexing code here.
9
10
11 Modified: main/trunk/bin/ebuild-helpers/ecompress
12 ===================================================================
13 --- main/trunk/bin/ebuild-helpers/ecompress 2009-04-02 13:06:41 UTC (rev 13278)
14 +++ main/trunk/bin/ebuild-helpers/ecompress 2009-04-02 17:48:31 UTC (rev 13279)
15 @@ -75,7 +75,7 @@
16 for x in "$@" ; do
17 [[ ${x##*.} =~ $mask_ext_re ]] && continue
18 filtered_args[$i]=$x
19 - ((i|=1))
20 + ((i++))
21 done
22 [ $i -eq 0 ] && exit 0
23 set -- "${filtered_args[@]}"