mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 08:00:09 +01:00
Don't hardcode /bin/bash
Don't hardcode /bin/bash, use /usr/bin/env bash instead, since not all platforms install bash as /bin/bash. FreeBSD, as an example, installs bash in /usr/local/bin/bash by default. Signed-off-by: Niclas Zeising <zeising@daemonic.se>
This commit is contained in:
parent
bcb79eed39
commit
db01b2d606
3 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash -e
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
if [[ $# -lt 2 ]]; then
|
||||
echo "Usage: ./generate-gcov-report.sh <rel-target-dir> <srcdir> [<srcdir> ... ]"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
#
|
||||
# Hack to check for leaking symbols in the static library.
|
||||
# See https://bugs.freedesktop.org/show_bug.cgi?id=82785
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue