and sure enough:
$ sh -n /usr/bin/genpmda
/usr/bin/genpmda: line 31: syntax error near unexpected token `('
/usr/bin/genpmda: line 31: `CMDTARGET= pmda\$(IAM)'
Looks like a script you last touched (according to #ident) - dya know if
this
is a case of too many backslashes in that script, which is kinda what it
looks
like at first glance?
Looking at this some more, and I'd say something completetly broke this
script at some point. It kinda looks like half of it is missing - it has an
EOFEOF marker right in the middle, but no here-document start (and no
argument parsing, just big chunks seem to be missing?!).
Can you send out the original version of this script from your repo? Or
the last version that looks remotely right?