Attila Doroszlai created HDDS-2403:
--------------------------------------
Summary: Remove leftover reference to OUTPUT_FILE from
shellcheck.sh
Key: HDDS-2403
URL: https://issues.apache.org/jira/browse/HDDS-2403
Project: Hadoop Distributed Data Store
Issue Type: Bug
Affects Versions: 0.5.0
Reporter: Attila Doroszlai
{{shellcheck.sh}} gives the following error (but works fine otherwise):
{noformat}
$ hadoop-ozone/dev-support/checks/shellcheck.sh
hadoop-ozone/dev-support/checks/shellcheck.sh: line 23: : No such file or
directory
...
{noformat}
This happens because {{OUTPUT_FILE}} variable is undefined:
{code:title=https://github.com/apache/hadoop-ozone/blob/6b2cda125b3647870ef5b01cf64e3b3e4cdc55db/hadoop-ozone/dev-support/checks/shellcheck.sh#L23}
echo "" > "$OUTPUT_FILE"
{code}
The command can be removed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]