[ 
https://issues.apache.org/jira/browse/OFBIZ-1084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12535038
 ] 

Jonathon Wong commented on OFBIZ-1084:
--------------------------------------

> Actually no, SVN is platform aware.

Hmm. Then that will cause a problem. In CVS, there was an option to always 
store EOL markers in a standardized format (LF only). As per David's 
elaborations, there seems to be problems in the case where multiple SVN users 
use different OS (Windows and Unix).

> Some info about the svn:eol-style property:

Oh, then that does it. Note the following:

"Note that Subversion will actually store the file in the repository using 
normalized LF EOL markers regardless of the operating system. This is basically 
transparent to the user, though."

So there really is a canonical representation in the SVN repository. Then the 
above problem will not exist.

For Windows users who check out OFBiz on Windows boxes, simply do a dos2unix 
for all .sh files when deploying to Unix.

> if [ "$UID" = "0" ]; then in $OFBIZ_HOME/rc.ofbiz
> -------------------------------------------------
>
>                 Key: OFBIZ-1084
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1084
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: Release Branch 4.0
>         Environment: Fedora 5, Fedora 6.
>            Reporter: Shi Yusen
>            Assignee: Jacques Le Roux
>             Fix For: SVN trunk, Release Branch 4.0
>
>
> The following line in $OFBIZ_HOME/rc.ofbiz:
> if [ "$UID" = "0" ]; then
> Is it should be
> if [ "$UID" != "0" ]; then
> BTW, I have to run dos2unix for this file, I guess this is a *nix script, it 
> would be better if it's in the right format in SVN.
> Shi Yusen/Beijing Langhua Ltd.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to