[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Environment variables in .subversion/config

From: Mattius McLaughlin <Mattius_McLaughlin_at_pmc-sierra.com>
Date: Mon, 11 Jun 2012 10:11:48 -0700

On 06/08/12 23:18, Daniel Shahaf wrote:
> Mattius McLaughlin wrote on Fri, Jun 08, 2012 at 14:35:58 -0700:
>> bit of a bind when it comes to ssh identity files. I'd like to have a
>> line like
>>
>> [tunnels]
>> ssh = $SVN_SSH ssh -q -i $HOME/.ssh/ssh-identity
>>
>> It would seem I can only have lines like
>>
>> [tunnels]
>> ssh = $SVN_SSH ssh -q -i /home/user1/.ssh/ssh-identity
> Untested, but:
>
> [tunnels]
> ssh = $SVN_SSH sh -c 'ssh -q -i $HOME/.ssh/ssh-identity "$@"' -s

This works nicely, thank you. I tried both $HOME and ~, but the client
doesn't resolve either.
Received on 2012-06-11 19:45:25 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.