What steps will reproduce the problem?
1. make include/atomic.h
What is the expected output? What do you see instead?
Expected output is:
/bin/bash util/atomic.sh > include/atomic.h
Experienced output is:
/bin/sh util/atomic.sh > include/atomic.h
util/atomic.sh: 665: Bad substitution
make: *** [include/atomic.h] Error 2
What version of the product are you using? On what operating system?
changset 48:67210bc745d8 running on Ubuntu 10.10
Please provide any additional information below.
Modifying the commands for target include/atomic.h to:
- sh util/atomic.sh > include/atomic.h
+ $(SHELL) util/atomic.sh > include/atomic.h
and then running the following works:
make include/atomic.h SHELL=/bin/bash
Original issue reported on code.google.com by aefal...@gmail.com on 24 Nov 2010 at 10:19
Original issue reported on code.google.com by
aefal...@gmail.com
on 24 Nov 2010 at 10:19