1 |
On Sunday 22 of February 2009 23:39:11 Mike Frysinger wrote: |
2 |
> On Sunday 22 February 2009 17:30:09 Dawid Węgliński wrote: |
3 |
> > On Sunday 22 of February 2009 00:27:10 Mike Frysinger wrote: |
4 |
> > > looks like bash-4.0 has broken semicolon escaping in subshells. this |
5 |
> > > comes up when using find's -exec like we do in a few places in |
6 |
> > > eclasses: ls=$(find "$1" -name '*.po' -exec basename {} .po \;); shift |
7 |
> > > you can work around the issue in a couple of ways: |
8 |
> > > - quote the semicolon: |
9 |
> > > .... ';') |
10 |
> > > - use backticks |
11 |
> > > `find .... \;` |
12 |
> > > |
13 |
> > > i'll tweak the eclasses to use quoting for now |
14 |
> > |
15 |
> > FYI. Not only find's semicolons are affected. It also happens in case ;; |
16 |
> > construction. |
17 |
> |
18 |
> embedded case statements in $(...) subshells have always been broken. |
19 |
> bash-4.0 is supposed to fix that. if you have some code that is broken, |
20 |
> please post it so i can push it upstream. |
21 |
> -mike |
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-> /var/tmp/binpkgs/x11-libs/wxGTK-2.8.9.1-r3/temp/environment: |
27 |
line 2989: błąd składni przy nieoczekiwanym znaczniku `;;' |
28 |
13:50 < diabel-> /var/tmp/binpkgs/x11-libs/wxGTK-2.8.9.1-r3/temp/environment: |
29 |
line 2989: ` ;;' * * ERROR: x11-libs/wxGTK-2.8.9.1-r3 failed. |
30 |
|
31 |
All it states is syntax error near double semicolons. |