From 535fa0c171f263768379c100f56b742fce9b666c Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 6 May 2016 19:37:56 +0200 Subject: [PATCH] check_integrity.sh: remove the -c option from awk invocations. Ubuntu now (16.04) comes with 'mawk', which doesn't recognize the -c option, so simply remove it. Its meaning was to switch into 'traditional' mode. --- testcases/check_integrity.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/check_integrity.sh b/testcases/check_integrity.sh index 5350a3b..0eb29d6 100755 --- a/testcases/check_integrity.sh +++ b/testcases/check_integrity.sh @@ -25,7 +25,7 @@ echo 0 > ${EXITFILE} for T in "board" "printer"; do # Test #1: are all #defines in the generic config in all the individual # files? - awk -c ' + awk ' /^#define/ { print $2; } @@ -44,7 +44,7 @@ for T in "board" "printer"; do # Test #2: the opposite, has the generic config all of the latest three # individual configs? for F in $(ls -t ${T}.*.h | head -3); do - awk -c ' + awk ' /^\/\/DEFINE_HEATERS_START/, /^\/\/DEFINE_HEATERS_END/ { # This section is created on the fly, so not in the generic file. next;