Portable shell code between Cygwin and Linux
Andrey Repin
anrdaemon@freemail.ru
Mon Aug 8 08:20:00 GMT 2011
Greetings, Sven Köhler!
>> alias vpnup='exec sudo openvpn --config $HOME/config/client.vpn --writepid /tmp/openvpn.pid &'
>>
>> that's where his problem began, IMO.
> I don't know, why you pointed that out. It's of no use to feed a path
> like $HOME/something to a pure win32 binary.
You DON'T "feed a path like $HOME/something" !
The shell that run the script will expand variable before passing it to the
program.
> (Certainly, this hint is kind of important for the ubuntu version of the
> script, but not for the cygwin issue, which is solely because he's
> mixing cygwin and win32 and expects it work without any complication)
Not true.
--
WBR,
Andrey Repin (anrdaemon@freemail.ru) 08.08.2011, <12:13>
Sorry for my terrible english...
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list