On 05/06/2015 02:31 AM, Ángel González wrote:
A really clean solution :)
test $(echo y) = y || exit 1
It would be simple to add to bootstrap a line like
> test $(echo y) = y || die 'No $() support. Please use a POSIX shell.'
Why don't we just add Bash to the dependency list, at README.checkout?
This is (or at least, should be) the first resource to read for current and
future Wget developers.
If we want to be picky, we could even state that a POSIX-compatible shell
*must* be used, blah blah blah.
Doing a first build from source is possibly the most frustrating phase for
newcomers, and so we should document
possible pitfalls as we learn about them.
Or we could even do both: documentation + early dying.
--
Regards,
- AJ