Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix for Solaris10 sh#212

Merged
bsparrow435 merged 1 commit into
basho:4.0basho/node_package:4.0from
kesslerm:fix/solaris10-nodetool-aliaskesslerm/node_package:fix/solaris10-nodetool-aliasCopy head branch name to clipboard
Feb 10, 2017
Merged

Fix for Solaris10 sh#212
bsparrow435 merged 1 commit into
basho:4.0basho/node_package:4.0from
kesslerm:fix/solaris10-nodetool-aliaskesslerm/node_package:fix/solaris10-nodetool-aliasCopy head branch name to clipboard

Conversation

@kesslerm

@kesslerm kesslerm commented Feb 9, 2017

Copy link
Copy Markdown
Contributor

Commit 44a4f19 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.

@kesslerm kesslerm force-pushed the fix/solaris10-nodetool-alias branch from 80f4e6a to cee23ac Compare February 9, 2017 17:51
Commit 44a4f19 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.

As other functions depend on ping_node() returning the exit code
from NODETOOL, but CLI users expect to see the stdout output, capture
the exit code before echoing the command output.
@kesslerm kesslerm force-pushed the fix/solaris10-nodetool-alias branch from cee23ac to 65125b6 Compare February 9, 2017 18:21
@kesslerm kesslerm changed the title Fix for Solaris10 (ksh) Fix for Solaris10 sh Feb 9, 2017
@bsparrow435 bsparrow435 merged commit 83f5944 into basho:4.0 Feb 10, 2017
@kesslerm kesslerm deleted the fix/solaris10-nodetool-alias branch February 17, 2017 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.