basho / node_package

RPM/Debian/FreeBSD/SmartOS/Solaris/OSX packaging templates for Erlang Nodes
Apache License 2.0
89 stars 63 forks source link

Fix for Solaris10 sh #212

Closed kesslerm closed 7 years ago

kesslerm commented 7 years ago

Commit 44a4f19ecc5c7b7131c04a9c391391b46ee03ae3 uses $(command) notation to populate SSL_ARGS. This notation is not supported by Solaris10 sh.

Use backticks instead.

Ksh expands aliases containing '=' differently from bash, but seems to work fine when an alias is evaluated inside backticks. Call NODETOOL inside backticks consistently throughout the file.