On 02/04/2013 11:32 PM, Ludovic Courtès wrote:
Cyril Roelandt<tipec...@gmail.com> skribis:
[...]
+ ;; The .at files create shell scripts without shebangs. Erk.
+ (substitute* "tests/commands.at"
+ (("./output.sh")
+ (string-append (which "bash") " output.sh")))
(which "sh") may be more correct (Bash behaves differently depending no
whether it’s invoked as sh or bash.)
When using (which "sh"), 2 tests fail with the following error:
/nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/sh:
Command not found
Any idea ?
Cyril.