Closed xiamaz closed 5 years ago
I don't think it's a good idea.
In particular bash extensions must not be used, and not all R platforms have a bash command, let alone one at /bin/bash.
see https://cran.r-project.org/doc/manuals/r-release/R-exts.html
But the autoconf script does not work using dash
as the standard shell. If it is related to issues in POSIX compatibility, this should be considered a bug.
this is generated by autoconf
, possible solution is https://stackoverflow.com/questions/161064
I'll stick to what Writing R Extensions say about the location of bash
The current autoconf generate configure file uses
#!/bin/sh
as the shebang, although the generated configure script will fail when run withdash
symlinked to sh, which enforces POSIX sh much more strictly. Changing the shebang to /bin/bash fixes the issue.