make clear that overwriting values is only a warning.
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
version () {
|
||||
echo '$Author: zimoch $' >&2
|
||||
echo '$Date: 2018/07/06 09:38:34 $' >&2
|
||||
echo '$Revision: 1.25 $' >&2
|
||||
echo '$Date: 2018/07/06 12:06:44 $' >&2
|
||||
echo '$Revision: 1.26 $' >&2
|
||||
echo '$Source: /cvs/G/EPICS/App/scripts/externalLinks,v $' >&2
|
||||
exit 1
|
||||
}
|
||||
@@ -453,7 +453,7 @@ function expandFile () {
|
||||
menu = menuname[rtype,field]
|
||||
|
||||
if (fieldvalue[record,field] && fieldvalue[record,field] != value && !overwrite) {
|
||||
printf("%s:%d\n\t%s record \"%s\" field %s\n\tvalue redefined from \"%s\" to \"%s\"\n\tfirst defined in %s\n",
|
||||
printf("%s:%d\n\t%s record \"%s\" field %s\n\tWarning: value redefined from \"%s\" to \"%s\"\n\tfirst defined in %s\n",
|
||||
filename, line, rtype, record, field, fieldvalue[record,field], value, definition[record,field]) > "/dev/stderr"
|
||||
}
|
||||
fieldvalue[record,field] = value
|
||||
|
||||
Reference in New Issue
Block a user