Gentoo Archives: gentoo-dev

From: Ryan Hill <dirtyepic@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: bash-4.0 regression heads up (escaped semicolons in subshells)
Date: Sat, 21 Feb 2009 23:37:58
Message-Id: 20090221173855.404ebed9@halo.dirtyepic.sk.ca
In Reply to: [gentoo-dev] bash-4.0 regression heads up (escaped semicolons in subshells) by Mike Frysinger
1 On Sat, 21 Feb 2009 18:27:10 -0500
2 Mike Frysinger <vapier@g.o> wrote:
3
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 > -mike
15 >
16
17 is this a bug or broken on purpose?
18
19 --
20 gcc-porting, by design, by neglect
21 treecleaner, for a fact or just for effect
22 wxwidgets @ gentoo EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies