Hi, Am Sonntag, den 10.07.2011, 21:54 +1000 schrieb Erik de Castro Lopo: > > Am Sonntag, den 10.07.2011, 11:28 +1000 schrieb Erik de Castro Lopo: > > > Erik de Castro Lopo wrote: > > > > > > > Looking at the tests, some of which are failing on my laptop. > > > > > > FTBFS can be recreated on amd64 if /bin/sh is dash instead of > > > bash. > > > > > > Is there a way to require that sh is dash in the builder or does > > > this need to be fixed in the tests (easy option would be to > > > disable the tests that fail due to bashisms). > > > > can’t you replace #!/bin/sh by #!/bin/bash? > > The scripts already have "#!/usr/bin/env bash" at the top, > but they are run using the system(3) function which ends up > doing: > > sh -c script-name.sh I don’t think this makes a difference. system("script-name.sh arg") (arg added for clarity) calls "sh" "-c" "script-name.sh arg" which calls something like execve("script-name.sh",["arg"]) which makes the kernel execute the script and adhere to the shebang line. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata
Attachment:
signature.asc
Description: This is a digitally signed message part