Oleg Pykhalov schreef op do 07-10-2021 om 12:56 [+0300]: > Maxime Devos writes: > > […] > > > > Replace '#!/usr/bin/env bash' with '#!/bin/bash' > > > > > > Maybe a /bin/sh would be more Guix friendly, but shellcheck warns about > > > export -f does not exist in posix shell. Thoughts are welcome ;-) > > > > /bin/bash doesn't exist on Guix System, so it seems a bit weird to me > > to use that in Guix. Anyway, I think shellcheck should classify > > '#!/usr/bin/env bash' as a bash shell instead of a posix shell? > > Yes, also /usr/bin/env does not exist on Guix as well. So in that sense > both /bin/bash and /usr/bin/env bash are equal. It does exist: $ ls /usr/bin/env /usr/bin/env It's supposed to be possible to do without on Guix System though, by removing it from %base-services. FWIW, the shell scripts in tests/*.sh do not have a shebang. Greetings, Maxime.