From 86b3ca7a667baef407ccfa28166638ed0e64c26c Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-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/boot/efi/no-undefined-symbols.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 src/boot/efi/no-undefined-symbols.sh (limited to 'src/boot/efi') diff --git a/src/boot/efi/no-undefined-symbols.sh b/src/boot/efi/no-undefined-symbols.sh old mode 100644 new mode 100755 index 4d92082825..14a1a087bb --- a/src/boot/efi/no-undefined-symbols.sh +++ b/src/boot/efi/no-undefined-symbols.sh @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh -eu if nm -D -u "$1" | grep ' U '; then echo "Undefined symbols detected!" -- cgit v1.2.3-54-g00ecf