Bug fix: check-compiles.sh
authorColin Clark <colin.clark@cclark.uk>
Tue, 1 Feb 2022 11:03:22 +0000 (11:03 +0000)
committerColin Clark <colin.clark@cclark.uk>
Tue, 1 Feb 2022 11:03:22 +0000 (11:03 +0000)
Fix minor coding error

scripts/check-compiles.sh

index 399cc89..755073c 100755 (executable)
@@ -62,7 +62,7 @@ compile()
        done
 }
 
-disable_list=" "$(awk -F'[\[\]]' '/AC_HELP_STRING\(\[--disable-/ {if ($2 != "gtk3") print $2}' configure.ac | tr '\n' ' ')
+disable_list=" "$(awk --field-separator '[][]' '/AC_HELP_STRING\(\[--disable-/ {if ($2 != "gtk3") print $2}' configure.ac | tr '\n' ' ')
 
 echo "Disabled list: :$disable_list"