From 94d13d04e8683eb3ee41b460e6909f22ad37607d Mon Sep 17 00:00:00 2001 From: Aaron Bieber Date: Wed, 8 Feb 2017 14:33:21 -0700 Subject: [PATCH] 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. --- utils/awesome-client | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/awesome-client b/utils/awesome-client index 0f758a4bc..4fd9c195b 100755 --- a/utils/awesome-client +++ b/utils/awesome-client @@ -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