From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15160 invoked by alias); 8 Aug 2011 08:20:36 -0000 Received: (qmail 15138 invoked by uid 22791); 8 Aug 2011 08:20:25 -0000 X-SWARE-Spam-Status: No, hits=3.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT X-Spam-Check-By: sourceware.org Received: from mr0.ht-systems.ru (HELO mr0.ht-systems.ru) (78.110.50.55) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 08 Aug 2011 08:19:59 +0000 Received: from [91.76.221.194] (helo=darkdragon.lan) by mr0.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1QqL3z-0006CY-Uz; Mon, 08 Aug 2011 12:19:56 +0400 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Mon, 08 Aug 2011 08:14:58 -0000 Date: Mon, 08 Aug 2011 08:20:00 -0000 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <1065475292.20110808121457@mtu-net.ru> To: Sven Köhler , cygwin@cygwin.com Subject: Re: Portable shell code between Cygwin and Linux In-Reply-To: References: <80hb65b3ue.fsf@somewhere.org> <20110729201651.GB13084@calimero.vinschen.de> <1686210011.20110730161401@mtu-net.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2011-08/txt/msg00171.txt.bz2 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