mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-07 19:21:09 +00:00
scripting: Use #!/usr/bin/env bash rather than /bin/bash
On some systems /bin/bash does not exists but is somewhere else and can be invoked with /usr/bin/env. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
This commit is contained in:
parent
7a0e7052be
commit
1fe484ce67
@ -570,7 +570,7 @@ LDFLAGS_ARCH += $(findstring -m64, $(CFLAGS))
|
||||
LDFLAGS_ARCH += $(findstring -m32, $(LDFLAGS))
|
||||
LDFLAGS_ARCH += $(findstring -m64, $(LDFLAGS))
|
||||
|
||||
check-local: SHELL?=/bin/bash
|
||||
check-local: SHELL?="/usr/bin/env bash"
|
||||
check-local:
|
||||
@case $(host_os) in \
|
||||
openbsd*) ADDLIBS="-lc" ;; \
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
input=$(mktemp)
|
||||
binary=$(mktemp)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user