-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/14/15 2:33 AM, Mike Frysinger wrote:
> running it with set -x shows that it runs the xgcc & rm steps, but that's it. > using strace shows xgcc and rm both exit(0), but for some reason bash doe s > not continue to the following commands like it should. > > if i change the && to a ; after the first rm, it still stops executing at that > point. if i change the && to a ; after the xgcc command, then the rest o f the > commands run fine. > > attached is the strace. it is not in fork mode, yet the shell clearly do es an > exec into the rm tool. looks like bash, for some reason, thinks this is the > end of the possible commands and so does an optimization to exec into it ? Thanks for the report. That's probably it; I'll take a look. Chet - -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlWk/wYACgkQu1hp8GTqdKuD3wCfQf5/ktYjfnWQo/QTo/pUPQs2 uoEAn0+D8ZdwwFvznlgppuAIntwoNmPy =YHvf -----END PGP SIGNATURE-----