From: Zbigniew Jędrzejewski-Szmek Date: Tue, 18 Apr 2017 21:14:48 +0000 (-0400) Subject: meson: use "sh -eu" and make .sh +x, .py -x X-Git-Tag: v234~286^2~22 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86b3ca7a667baef407ccfa28166638ed0e64c26c;p=thirdparty%2Fsystemd.git meson: use "sh -eu" and make .sh +x, .py -x Shell scripts should be executable so that meson reports their invocation succinctly (does not print 'sh' '-e'). Python scripts should not be executable so that meson does the detection of the right python binary itself. Add -u everywhere to catch potential errors. --- diff --git a/src/basic/generate-af-list.sh b/src/basic/generate-af-list.sh old mode 100644 new mode 100755 index 3fdfe2ea601..733cf59dd0d --- a/src/basic/generate-af-list.sh +++ b/src/basic/generate-af-list.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/sh -eu $1 -E -dM -include sys/socket.h -