1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

separate flags from shebang

This commit is contained in:
bleep_blop 2017-12-24 06:53:20 +00:00 committed by Lennart Poettering
parent 977f65f01d
commit 7629744a3d
19 changed files with 38 additions and 19 deletions

View File

@ -1,4 +1,5 @@
#!/bin/sh -ex
#!/bin/sh
set -ex
# This file is part of systemd.
#

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
$1 -E -dM -include sys/socket.h - </dev/null | \
grep -Ev 'AF_UNSPEC|AF_MAX' | \

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
$1 -dM -include net/if_arp.h - </dev/null | \
awk '/^#define[ \t]+ARPHRD_[^ \t]+[ \t]+[^ \t]/ { print $2; }' | \

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
$1 -dM -include linux/capability.h -include "$2" -include "$3" - </dev/null | \
awk '/^#define[ \t]+CAP_[A-Z_]+[ \t]+/ { print $2; }' | \

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
$1 -dM -include errno.h - </dev/null | \
awk '/^#define[ \t]+E[^ _]+[ \t]+/ { print $2; }'

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
$1 -dM -include netinet/in.h - </dev/null | \
awk '/^#define[ \t]+IPPROTO_[^ \t]+[ \t]+[^ \t]/ { print $2; }' | \

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
if nm -D -u "$1" | grep ' U '; then
echo "Undefined symbols detected!"

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
cpp="$1"
shift

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
awk ' BEGIN {
print "%{\n\
#if __GNUC__ >= 7\n\

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
$1 -dM -include linux/input.h - </dev/null | awk '
/\<(KEY_(MAX|MIN_INTERESTING))|(BTN_(MISC|MOUSE|JOYSTICK|GAMEPAD|DIGI|WHEEL|TRIGGER_HAPPY))\>/ { next }

View File

@ -720,7 +720,8 @@ class NetworkdClientTest(ClientTestBase, unittest.TestCase):
self.addCleanup(os.remove, script)
with os.fdopen(fd, 'w+') as f:
f.write('''\
#!/bin/sh -eu
#!/bin/sh
set -eu
mkdir -p /run/systemd/network
mkdir -p /run/systemd/netif
mount -t tmpfs none /run/systemd/network

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
cd "$MESON_SOURCE_ROOT"

View File

@ -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.

View File

@ -1,3 +1,4 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
"$@" '-' -o/dev/null </dev/null

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
export SYSTEMD_LOG_LEVEL=info

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
git shortlog -s `git describe --abbrev=0`.. | \
cut -c8- | \

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
cd "$1"

View File

@ -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...

View File

@ -1,4 +1,5 @@
#!/bin/sh -eu
#!/bin/sh
set -eu
unitdir="$1"
target="$2"