From b8e979f099c2450e303b7aac1880fa7d72e5e2ab Mon Sep 17 00:00:00 2001 From: zimoch Date: Thu, 5 Jul 2018 15:09:08 +0000 Subject: [PATCH] Don't attempt to check empty fields --- externalLinks | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/externalLinks b/externalLinks index 2130ee0..03fe0b6 100755 --- a/externalLinks +++ b/externalLinks @@ -4,8 +4,8 @@ version () { echo '$Author: zimoch $' >&2 - echo '$Date: 2016/10/06 13:26:53 $' >&2 - echo '$Revision: 1.21 $' >&2 + echo '$Date: 2018/07/05 15:09:08 $' >&2 + echo '$Revision: 1.22 $' >&2 echo '$Source: /cvs/G/EPICS/App/scripts/externalLinks,v $' >&2 exit 1 } @@ -444,6 +444,7 @@ function expandFile () { } fieldvalue[record,field] = value definition[record,field] = filename ":" line + if (value == "") next if (!isfield[rtype,field]) { printf("%s:%d\n\t%s record \"%s\" unknown field %s\n\tshould be one of:\n%s\n\n", filename, line, rtype, record, field, fields[rtype]) > "/dev/stderr"