EricFromCanada / ericfromcanada.github.io

In which I write things that others may find useful.
https://ericfromcanada.github.io
1 stars 0 forks source link

keychain-import.sh "PEM_FOLDER: command not found" #3

Closed cohortswitchback closed 2 years ago

cohortswitchback commented 2 years ago
Screen Shot 2022-03-30 at 5 29 47 PM

Is the issue here a carriage return? PEM_FOLDER is on its own line, line 7. Should it come right after the statement "while read"?

cohortswitchback commented 2 years ago

Sorry, the nano editor was adding the carriage returns. Once I edited the shell file in Atom, I got everything on the proper lines, and after rerunning the script, received the expected response.