ucd-library / ezid

Bash client Script for ezid identifier management
MIT License
0 stars 2 forks source link

Errors #8

Closed EricNebeker closed 5 years ago

EricNebeker commented 5 years ago

@qjhart I'm getting errors when I try to use the script. For example, trying the login command like this: ezid login --auth=xxxx:xxxx

I get

/usr/local/bin/ezid: line 904: declare: -A: invalid option declare: usage: declare [-afFirtx] [-p] [name[=value] ...] /usr/local/bin/ezid: line 905: declare: -A: invalid option declare: usage: declare [-afFirtx] [-p] [name[=value] ...] /usr/local/bin/ezid: line 907: declare: -A: invalid option declare: usage: declare [-afFirtx] [-p] [name[=value] ...] LOG: http --check-status --ssl=ezid --session=ezid --print=ezid --auth= https://ezid.cdlib.org/login

I can successfully login with httpie like this: http GET https://ezid.cdlib.org/login --auth xxxx:xxxx

qjhart commented 5 years ago

Fixed in e66dd69770cb5b9f5f4cb4f69e49bab125d06d90