Skip to content

Conversation

@mrkn
Copy link
Member

@mrkn mrkn commented Feb 12, 2019

Enclose optional shell variable names by double quotations to suppress shell warnings that is like below:

+'[' == 1 ']'
/home/travis/build/apache/arrow/ci/travis_before_script_cpp.sh: line 81: [: ==: unary operator expected

@mrkn mrkn changed the title Suppress shell warning on travis-ci ARROW-4537: [CI] Suppress shell warning on travis-ci Feb 12, 2019
@mrkn mrkn force-pushed the suppress_shell_warning_on_ci branch from 37ae158 to 234fdfb Compare February 12, 2019 09:11
Copy link
Member

@kou kou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Member

@xhochy xhochy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1, thanks!

Can you address the one line where you did the reverse?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't the quotes stay here as-is?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's my mistake. I reverted this change. Thanks for catching this.

Enclose optional shell variable names by double quotations to suppress shell
warnings that is like below:

```
+'[' == 1 ']'
/home/travis/build/apache/arrow/ci/travis_before_script_cpp.sh: line 81: [: ==: unary operator expected
```
@mrkn mrkn force-pushed the suppress_shell_warning_on_ci branch from 234fdfb to 4db2e53 Compare February 12, 2019 11:24
@xhochy xhochy closed this in 000d529 Feb 12, 2019
@mrkn mrkn deleted the suppress_shell_warning_on_ci branch February 12, 2019 14:40
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.

3 participants