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

Tobias Bocanegra commented on JCRVLT-284:
-----------------------------------------

I just realised that the {{VLT_OPTS}} can be set either with the {{.vltrc}}:

{noformat}
if [ -f /etc/vaultrc ] ; then
  . /etc/vaultrc
fi

if [ -f "$HOME/.vaultrc" ] ; then
  . "$HOME/.vaultrc"
fi
{noformat}

or the {{vltrc_pre.bat}}:

{noformat}
@REM Execute a user defined script before this one
if exist "%HOME%\vltrc_pre.bat" call "%HOME%\vltrc_pre.bat"
{noformat}

so no need for extra environment variable handling.

> Add support through environment var to directly control the line separator
> --------------------------------------------------------------------------
>
>                 Key: JCRVLT-284
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-284
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: vlt
>    Affects Versions: 3.2
>            Reporter: David Beaudet
>            Assignee: Tobias Bocanegra
>            Priority: Minor
>              Labels: easyfix
>
> Allow users to configure the line separator by specifying a text value of 
> either "LF" or "CRLF" which is then read by VLT and the system property set 
> accordingly. This is necessary to allow teams using software such as vim for 
> cygwin to set the line separator to LF regardless of the fact that they're 
> using windows.  A pull request with rudimentary support (#21) 
> ([https://github.com/apache/jackrabbit-filevault/pull/21)] was submitted to 
> provide this but it will require modification to support an environment 
> variable as suggested by Tobias.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to