summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-x[-rw-r--r--]tools/meson-check-compilation.sh2
-rwxr-xr-xtools/meson-check-help.sh2
-rwxr-xr-x[-rw-r--r--]tools/meson-git-contrib.sh2
-rwxr-xr-xtools/meson-hwdb-update.sh2
-rwxr-xr-x[-rw-r--r--]tools/meson-make-symlink.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/tools/meson-check-compilation.sh b/tools/meson-check-compilation.sh
index 9bbe54669b..e24194247e 100644..100755
--- a/tools/meson-check-compilation.sh
+++ b/tools/meson-check-compilation.sh
@@ -1,3 +1,3 @@
-#!/bin/sh -e
+#!/bin/sh -eu
"$@" '-' '-c' -o/dev/null </dev/null
diff --git a/tools/meson-check-help.sh b/tools/meson-check-help.sh
index 2f7ba3978d..7102866a5c 100755
--- a/tools/meson-check-help.sh
+++ b/tools/meson-check-help.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh -eu
# output width
if "$1" --help | grep -v 'default:' | grep -E -q '.{80}.'; then
diff --git a/tools/meson-git-contrib.sh b/tools/meson-git-contrib.sh
index c9d3775bcf..ac031638e0 100644..100755
--- a/tools/meson-git-contrib.sh
+++ b/tools/meson-git-contrib.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh -eu
git shortlog -s `git describe --abbrev=0`.. | \
cut -c8- | \
diff --git a/tools/meson-hwdb-update.sh b/tools/meson-hwdb-update.sh
index f97e65c9af..4c919073bb 100755
--- a/tools/meson-hwdb-update.sh
+++ b/tools/meson-hwdb-update.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -ex
+#!/bin/sh -eu
cd "$1"
diff --git a/tools/meson-make-symlink.sh b/tools/meson-make-symlink.sh
index 87f198694c..69eab9ba73 100644..100755
--- a/tools/meson-make-symlink.sh
+++ b/tools/meson-make-symlink.sh
@@ -1,4 +1,4 @@
-#!/bin/sh -e
+#!/bin/sh -eu
# this is needed mostly because $DESTDIR is provided as a variable,
# and we need to create the target directory...