News for hackers. Stuff that matters.
Re:GNU Make 4.0 Released by _ak on Wednesday October 09, 2013 @03:31PM (#6523294)
An attitude "It's just a shell script" can be dangerous when you have software that is supposed to be built on multiple platforms. You can never be 100 % sure what your /bin/sh is, be it bash, ash, dash, ksh, zsh or even an ancient Bourne shell.
Re:GNU Make 4.0 Released by mprovost on Wednesday October 09, 2013 @04:20PM (#6523568)
Thinking like that leads down the same rabbit hole where autoconf/automake disappeared, only using bourne and m4 (!). Just in case you want to compile your code on a decade-old copy of HP-UX. Or I suppose some shiny new distro that is using zsh as /bin/sh.
Re:GNU Make 4.0 Released by mixmastamyk on Wednesday October 09, 2013 @05:55PM (#6524152)
According to the the redo readme, it takes care of that problem. Alternatively, if a specific shell is required, it can be specified with #!...
Re:GNU Make 4.0 Released by LukeShu on Thursday October 10, 2013 @12:59AM (#6525727)
To explain why you are being downvoted:

It doesn't take care of the problem, it mitigates it. It tries to find the most POSIX-like shell. You still don't know which shell that will be. And then, even if you did, you are still relying on external programs, which may all work differently than the ones on your box. Writing portable shell scripts is hard.