[ 
https://issues.apache.org/jira/browse/HDDS-1642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chung En Lee updated HDDS-1642:
-------------------------------
    Target Version/s: 2.2.0  (was: 1.2.0)
                      2.2.0  (was: 2.1.0)

<<Bulk update>>
Apache Ozone 2.1.0 release is in progress. I'm updating all unresolved jiras 
targeting 2.1.0 to retarget 2.2.0.

> Avoid shell references relative to the current script path
> ----------------------------------------------------------
>
>                 Key: HDDS-1642
>                 URL: https://issues.apache.org/jira/browse/HDDS-1642
>             Project: Apache Ozone
>          Issue Type: Bug
>            Reporter: Eric Yang
>            Assignee: Marton Elek
>            Priority: Minor
>
> This is based on the review comment from [~eyang]:
> bq. You might need pwd -P to resolve symlinks. I don't recommend to use 
> script location to make decision of where binaries are supposed to be because 
> someone else can make newbie mistake and refactor your script to invalid the 
> original coding intend. See this blog to explain the right way to get the 
> directory of a bash script. This is the reason that I used OZONE_HOME as base 
> reference frequently.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to