SwitchEV / RISE-V2G

The only fully-featured reference implementation of the Vehicle-2-Grid communication interface ISO 15118
MIT License
220 stars 92 forks source link

generateCertificates.sh uses a absolute path to openssl #2

Closed lategoodbye closed 7 years ago

lategoodbye commented 7 years ago

The usage of an absolute path ( /usr/local/Cellar/openssl/1.0.2h_1/bin/ ) to openssl in generateCertificates.sh isn't very portable. It would be better to call openssl directly and let PATH do its job.

MarcMueltin commented 7 years ago

Yes, I realized this yesterday as well. I added a hint in the comment section of generateCertificates.sh to be aware of using the right openssl version even after installing a newer openssl with Homebrew (on MacOS X systems). An absolute path might be needed, but should not be part of the RISE V2G project, as you point out, since this is an issue depending on the user's machine.

Issue is resolved with commit 2267ad7.