diff options
author | bleep_blop <worz@tuta.io> | 2017-12-24 06:53:20 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2017-12-25 19:48:49 +0100 |
commit | 7629744a3dbca313b55882d3a63135b2a9b27805 (patch) | |
tree | d8670d347cd248c7f95029c7122894eb4ed9828f /tools | |
parent | 977f65f01dadb501c6bd08990887eca655361e5e (diff) | |
download | systemd-7629744a3dbca313b55882d3a63135b2a9b27805.tar.gz |
separate flags from shebang
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/add-git-hook.sh | 3 | ||||
-rwxr-xr-x | tools/find-build-dir.sh | 3 | ||||
-rwxr-xr-x | tools/meson-check-compilation.sh | 3 | ||||
-rwxr-xr-x | tools/meson-check-help.sh | 3 | ||||
-rwxr-xr-x | tools/meson-git-contrib.sh | 3 | ||||
-rwxr-xr-x | tools/meson-hwdb-update.sh | 3 | ||||
-rwxr-xr-x | tools/meson-make-symlink.sh | 3 |
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... |