summaryrefslogtreecommitdiffstats
path: root/src/basic/generate-arphrd-list.sh
diff options
context:
space:
mode:
authorbleep_blop <worz@tuta.io>2017-12-24 07:53:20 +0100
committerLennart Poettering <lennart@poettering.net>2017-12-25 19:48:49 +0100
commit7629744a3dbca313b55882d3a63135b2a9b27805 (patch)
treed8670d347cd248c7f95029c7122894eb4ed9828f /src/basic/generate-arphrd-list.sh
parentsd-boot, udev: trivial condition simplifications (diff)
downloadsystemd-7629744a3dbca313b55882d3a63135b2a9b27805.tar.xz
systemd-7629744a3dbca313b55882d3a63135b2a9b27805.zip
separate flags from shebang
Diffstat (limited to 'src/basic/generate-arphrd-list.sh')
-rwxr-xr-xsrc/basic/generate-arphrd-list.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/basic/generate-arphrd-list.sh b/src/basic/generate-arphrd-list.sh
index ee207fb38e..e4e7271c4d 100755
--- a/src/basic/generate-arphrd-list.sh
+++ b/src/basic/generate-arphrd-list.sh
@@ -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; }' | \