[R-sig-Debian] Fw: Default shell in Debian 6 of R is SH instead of BASH

Dirk Eddelbuettel edd at debian.org
Mon Mar 10 19:40:22 CET 2014


On 10 March 2014 at 11:24, Don Armstrong wrote:
| On Fri, 07 Mar 2014, Dirk Eddelbuettel wrote:
| > What shell to use _locally_ is a local policy decision and can be
| > overridden.  If your scripts need bash, you can could
| >  - either rewrite them to only sh constructs (a pain)
| >  - override the Debian default and make bash the default
| 
| Just for the record, if you scripts need to use bash, they should have
| #!/bin/bash in the shebang line. If your scripts can use any POSIX
| shell, then they should have #!/bin/sh in the shebang line. This should
| resolve any of the problems you are having regardless of which shell
| happens to be /bin/sh.

Quite so. And as I believe you were addressing this comment to the OP, I am
adding him back as a CC just in case.

Dirk


-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com



More information about the R-SIG-Debian mailing list