help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternatives to --emulate-fhs on foreign distros


From: (
Subject: Re: Alternatives to --emulate-fhs on foreign distros
Date: Wed, 19 Apr 2023 16:10:44 +0100

Kyle Andrews <kyle@posteo.net> writes:
> The (many) shell scripts in my software depend on bashisms. In the code right
> now I typically use /usr/bin/env bash since I had read that was the most
> portable way of referencing a shell. However, I really don't think I have a 
> good
> handle on what my choices are. Maybe the tedious solution of just typing `bash
> script.sh' in all of the system calls referencing this scripts might be the
> right approach in the long run?

``/usr/bin/env bash'' will automatically be substituted for the path to
an available ``/bin/bash'' in the store.  (If that's what you're talking
about here; not sure what the context is exactly.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]