awesome-client: let env find bash (#1544)
``` Applications should note that the standard PATH to the shell cannot be assumed to be either /bin/sh or /usr/bin/sh, and should be determined by interrogation of the PATH returned by getconf PATH, ensuring that the returned pathname is an absolute pathname and not a shell built-in. ``` POSIX and SUS both say the same thing about this. This will also fix awesome-client on *BSD.
This commit is contained in:
parent
34273b4c87
commit
94d13d04e8
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Use bash's pipefail option to get errors during failure in a command
|
||||
# pipeline. This is useful to get notified about an error from dbus-send
|
||||
|
|
Loading…
Reference in New Issue