* [gentoo-dev] bash-4.0 regression heads up (escaped semicolons in subshells)
@ 2009-02-21 23:27 99% Mike Frysinger
0 siblings, 0 replies; 1+ results
From: Mike Frysinger @ 2009-02-21 23:27 UTC (permalink / raw
To: gentoo-dev
[-- Attachment #1: Type: text/plain, Size: 405 bytes --]
looks like bash-4.0 has broken semicolon escaping in subshells. this comes up
when using find's -exec like we do in a few places in eclasses:
ls=$(find "$1" -name '*.po' -exec basename {} .po \;); shift
you can work around the issue in a couple of ways:
- quote the semicolon:
.... ';')
- use backticks
`find .... \;`
i'll tweak the eclasses to use quoting for now
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2009-02-21 23:27 99% [gentoo-dev] bash-4.0 regression heads up (escaped semicolons in subshells) Mike Frysinger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox