From 86b3ca7a667baef407ccfa28166638ed0e64c26c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 18 Apr 2017 17:14:48 -0400 Subject: 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. --- src/basic/generate-af-list.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/basic/generate-af-list.sh (limited to 'src/basic/generate-af-list.sh') diff --git a/src/basic/generate-af-list.sh b/src/basic/generate-af-list.sh old mode 100644 new mode 100755 index 3fdfe2ea60..733cf59dd0 --- 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 -