Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] bash-4.0 regression heads up (escaped semicolons in subshells)
Date: Sat, 21 Feb 2009 23:27:14
Message-Id: 200902211827.10563.vapier@gentoo.org
1 looks like bash-4.0 has broken semicolon escaping in subshells. this comes up
2 when using find's -exec like we do in a few places in eclasses:
3 ls=$(find "$1" -name '*.po' -exec basename {} .po \;); shift
4 you can work around the issue in a couple of ways:
5 - quote the semicolon:
6 .... ';')
7 - use backticks
8 `find .... \;`
9
10 i'll tweak the eclasses to use quoting for now
11 -mike

Attachments

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

Replies