[ 
https://issues.apache.org/jira/browse/KNOX-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17380120#comment-17380120
 ] 

ASF subversion and git services commented on KNOX-2629:
-------------------------------------------------------

Commit 875da32324a4d0beb2cb24e0553c3f622acd51ea in knox's branch 
refs/heads/master from Attila Magyar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=875da32 ]

KNOX-2629 - Fix new shellcheck errors (#465)

* KNOX-2629 Fix new shellcheck errors (amagyar)

* see if travis invokes shellcheck via maven

* changing shellcheck plugin

Co-authored-by: zeroflag <[email protected]>

> Fix new shellcheck errors 
> --------------------------
>
>                 Key: KNOX-2629
>                 URL: https://issues.apache.org/jira/browse/KNOX-2629
>             Project: Apache Knox
>          Issue Type: Task
>            Reporter: Attila Magyar
>            Assignee: Attila Magyar
>            Priority: Major
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> With shellcheck v0.7.2 lots of new errors are coming such as:
> {code:java}
> In gateway-release-common/home/bin/knox-functions.sh line 25:
> APP_HOME_DIR=$(dirname "$APP_BIN_DIR")
>                         ^----------^ SC2153: Possible misspelling: 
> APP_BIN_DIR may not be assigned, but APP_PID_DIR is.For more information:
>   https://www.shellcheck.net/wiki/SC2153 -- Possible misspelling: 
> APP_BIN_DIR...{code}
> {code:java}
> In ./gateway-shell-release/home/bin/knoxshell.sh line 30:
> . "$APP_BIN_DIR"/knox-functions.sh
>   ^-- SC1091: Not following: ./knox-functions.sh: openBinaryFile: does not 
> exist (No such file or directory) {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to