1 |
On Sunday 22 February 2009 18:03:23 Dawid Węgliński wrote: |
2 |
> On Sunday 22 of February 2009 23:39:11 Mike Frysinger wrote: |
3 |
> > On Sunday 22 February 2009 17:30:09 Dawid Węgliński wrote: |
4 |
> > > On Sunday 22 of February 2009 00:27:10 Mike Frysinger wrote: |
5 |
> > > > looks like bash-4.0 has broken semicolon escaping in subshells. this |
6 |
> > > > comes up when using find's -exec like we do in a few places in |
7 |
> > > > eclasses: ls=$(find "$1" -name '*.po' -exec basename {} .po \;); |
8 |
> > > > shift you can work around the issue in a couple of ways: |
9 |
> > > > - quote the semicolon: |
10 |
> > > > .... ';') |
11 |
> > > > - use backticks |
12 |
> > > > `find .... \;` |
13 |
> > > > |
14 |
> > > > i'll tweak the eclasses to use quoting for now |
15 |
> > > |
16 |
> > > FYI. Not only find's semicolons are affected. It also happens in case |
17 |
> > > ;; construction. |
18 |
> > |
19 |
> > embedded case statements in $(...) subshells have always been broken. |
20 |
> > bash-4.0 is supposed to fix that. if you have some code that is broken, |
21 |
> > please post it so i can push it upstream. |
22 |
> |
23 |
> It wasn't me who experienced that, but a user: |
24 |
> |
25 |
> 13:50 < diabel-> <<< dir /usr/share/doc/wxGTK-2.8.9.1-r3 |
26 |
> 13:50 < diabel-> |
27 |
> /var/tmp/binpkgs/x11-libs/wxGTK-2.8.9.1-r3/temp/environment: line 2989: |
28 |
> błąd składni przy nieoczekiwanym znaczniku `;;' |
29 |
> 13:50 < diabel-> |
30 |
> /var/tmp/binpkgs/x11-libs/wxGTK-2.8.9.1-r3/temp/environment: line 2989: ` |
31 |
> ;;' * * ERROR: x11-libs/wxGTK-2.8.9.1-r3 failed. |
32 |
> |
33 |
> All it states is syntax error near double semicolons. |
34 |
|
35 |
unfortunately, that info isnt useful in any way. it looks like it's a binpkg |
36 |
though, so getting the files again should be possible. please have the user |
37 |
find that file from the binpkg and report a bug. |
38 |
-mike |