diff --git a/scripts/fqpn_check.sh b/scripts/fqpn_check.sh index 7e0d2efc..53e170f9 100755 --- a/scripts/fqpn_check.sh +++ b/scripts/fqpn_check.sh @@ -1,6 +1,6 @@ #!/bin/bash -grep --include="*.proto" -r -h -oP "(\S+) (\S+) = \d+;" proto/ | cut -d" " -f1 | sort -u | grep -v "google.protobuf" | grep -v "cmp\." | grep -vP "(bool|bytes|double|int32|int64|string|uint64|//)" +grep --include="*.proto" -r -h -oP "(\S+) (\S+) = \d+;" proto/ | cut -d" " -f1 | sort -u | grep -v "google\.protobuf" | grep -v "cmp\." | grep -vP "(double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes|//)" if [ $? != 1 ] ; then echo "Error: Found non FQPN types!"