./metagen.sh produces bash error: $HOSTLIST: ambiguous redirect

Jonathan Rochkind rochkind at jhu.edu
Thu May 9 13:55:42 EDT 2013


I have a new machine with Shibboleth 2.5.1 installed on it.

I am trying to use the metagen.sh utility same as I have before -- but 
now it's producing an error.

For instance:

./metagen.sh -c sp-cert.pem -h somewhere.example.org -e
https://somewhere.example.org/shibboleth > somewhere.xml

Outputs:

./metagen.sh: line 85: $HOSTLIST: ambiguous redirect


The somewhere.xml metadata file SEEMS to have been generated properly 
anyway; I'm not entirely sure.  Should I just ignore this error?

Any advice or info?  I can try to debug the bash script myself, but I'm 
not entirely sure what is intended to be accomplished by the relevant 
lines, or how to fix them. I think it may actually be line 81 that bash 
doesn't like:  "done <$HOSTLIST"


More information about the users mailing list