summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorbleep_blop <worz@tuta.io>2017-12-24 06:53:20 +0000
committerLennart Poettering <lennart@poettering.net>2017-12-25 19:48:49 +0100
commit7629744a3dbca313b55882d3a63135b2a9b27805 (patch)
treed8670d347cd248c7f95029c7122894eb4ed9828f /tools
parent977f65f01dadb501c6bd08990887eca655361e5e (diff)
downloadsystemd-7629744a3dbca313b55882d3a63135b2a9b27805.tar.gz
separate flags from shebang
Diffstat (limited to 'tools')
-rwxr-xr-xtools/add-git-hook.sh3
-rwxr-xr-xtools/find-build-dir.sh3
-rwxr-xr-xtools/meson-check-compilation.sh3
-rwxr-xr-xtools/meson-check-help.sh3
-rwxr-xr-xtools/meson-git-contrib.sh3
-rwxr-xr-xtools/meson-hwdb-update.sh3
-rwxr-xr-xtools/meson-make-symlink.sh3
7 files changed, 14 insertions, 7 deletions
diff --git a/tools/add-git-hook.sh b/tools/add-git-hook.sh
index 4ee919faf4..c1db99b18a 100755
--- a/tools/add-git-hook.sh
+++ b/tools/add-git-hook.sh
@@ -1,4 +1,5 @@
-#!/bin/sh -eu
+#!/bin/sh
+set -eu
cd "$MESON_SOURCE_ROOT"
diff --git a/tools/find-build-dir.sh b/tools/find-build-dir.sh
index 33b40f93f7..06b6297ea5 100755
--- a/tools/find-build-dir.sh
+++ b/tools/find-build-dir.sh
@@ -1,4 +1,5 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
# Try to guess the build directory:
# we look for subdirectories of the parent directory that look like ninja build dirs.
diff --git a/tools/meson-check-compilation.sh b/tools/meson-check-compilation.sh
index d3b2a312fd..ce39e1684b 100755
--- a/tools/meson-check-compilation.sh
+++ b/tools/meson-check-compilation.sh
@@ -1,3 +1,4 @@
-#!/bin/sh -eu
+#!/bin/sh
+set -eu
"$@" '-' -o/dev/null </dev/null
diff --git a/tools/meson-check-help.sh b/tools/meson-check-help.sh
index 4210491a98..69157105f2 100755
--- a/tools/meson-check-help.sh
+++ b/tools/meson-check-help.sh
@@ -1,4 +1,5 @@
-#!/bin/sh -eu
+#!/bin/sh
+set -eu
export SYSTEMD_LOG_LEVEL=info
diff --git a/tools/meson-git-contrib.sh b/tools/meson-git-contrib.sh
index c543b3a5fa..514daa0949 100755
--- a/tools/meson-git-contrib.sh
+++ b/tools/meson-git-contrib.sh
@@ -1,4 +1,5 @@
-#!/bin/sh -eu
+#!/bin/sh
+set -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 e9a78c647f..275d54cd17 100755
--- a/tools/meson-hwdb-update.sh
+++ b/tools/meson-hwdb-update.sh
@@ -1,4 +1,5 @@
-#!/bin/sh -eu
+#!/bin/sh
+set -eu
cd "$1"
diff --git a/tools/meson-make-symlink.sh b/tools/meson-make-symlink.sh
index 47a5e70ae5..501cd43d47 100755
--- a/tools/meson-make-symlink.sh
+++ b/tools/meson-make-symlink.sh
@@ -1,4 +1,5 @@
-#!/bin/sh -eu
+#!/bin/sh
+set -eu
# this is needed mostly because $DESTDIR is provided as a variable,
# and we need to create the target directory...