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.
This commit is contained in:
Markus Hitter 2016-05-06 19:37:56 +02:00
parent 3dd430de59
commit 535fa0c171
1 changed files with 2 additions and 2 deletions

View File

@ -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;