From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 30 Jun 2010 11:18:42 +0400 From: "Alexey I. Froloff" To: ALT Linux Sisyphus discussion list Message-ID: <20100630071842.GA6047@altlinux.org> References: <201006301101.59735.gusev.v.u@pkb.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <201006301101.59735.gusev.v.u@pkb.ru> User-Agent: Mutt/1.5.20 (2009-12-10) Subject: Re: [sisyphus] =?koi8-r?b?d2luZTog0NXUySDTINDSz8LFzMHNyQ==?= X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Sisyphus discussions List-Id: ALT Linux Sisyphus discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 07:18:43 -0000 Archived-At: List-Archive: List-Post: --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 30, 2010 at 11:01:54AM +0400, =E7=D5=D3=C5=D7 =F7.=E0. wrote: > =F0=CF=D3=CC=C5 =CF=C2=CE=CF=D7=CC=C5=CE=C9=D1 =D7 wine =D0=C5=D2=C5=D3= =D4=C1=CC=C9 =DA=C1=D0=D5=D3=CB=C1=D4=D8=D3=D1 =D0=D2=CF=C7=D2=C1=CD=CD=D9,= =D7 =D0=D5=D4=C9 =CB=CF=D4=CF=D2=D9=C8=20 > =D3=CF=C4=C5=D2=D6=C1=D4=D3=D1 =D0=D2=CF=C2=C5=CC=D9. =F5=CB=C1=DA=C1=CE= =C9=C5 =D0=D5=D4=C9 =D7 =CB=C1=D7=D9=DE=CB=C1=C8 =D0=D2=CF=C2=CC=C5=CD=D5 = =CE=C5 =D2=C5=DB=C1=C5=D4. =EE=D5 =C5=D3=D4=C5=D3=D4=D7=C5=CE=CE=CF =CE=C5 =D2=C5=DB=C1=C5=D4. =F4=C1= =CB=C9=C5 =D4=C1=CC=C1=CE=D4=CC=C9=D7=D9=C5 =D0=CF=C7=D2=CF=CD=C9=DA=C4=D9 = =DC=D4=CF =C4=C5=CC=C1=CC=C9: # translate args from unix path to windows, if possible (eterbug #4933) args_to_winpath() { for i in "$@" ; do local TP=3D"$i" local TR=3D${i/\~/$HOME} if [ -r "$TR" ] ; then WP=3D$(winepath -w "$TR" 2>/dev/null) [ -z "$WP" ] || TP=3D"$WP" fi echo "$TP" done } =2E.. run_wine $(args_to_winpath "$@") > =F7=C5=DB=C1=D4=D8 =C2=C1=C7=D5, =C9=CC=C9 =C5=D3=D4=D8 =D2=C5=DB=C5=CE= =C9=C5 =D0=D2=CF=C2=CC=C5=CD=D9? =F7=C5=DB=C1=CA=D4=C5. --=20 Regards, -- Sir Raorn. --- http://thousandsofhate.blogspot.com/ --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkwq784ACgkQVqT7+fkT8wp45gCfWqfZXaJzewSk3ziDFYJqyOAH PDAAoL3GJU+wruKOvjrspT+az3Y/TrJk =iAsD -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--