Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed

2016-11-15 Thread Andrey Repin
Greetings, OwN-3m-All! > Thanks guys. That was it. I decided to remove the trailing slash for > my purposes. > set WD=%~dp0 > set WD=%WD:~0,-1% > It's working now! Alternatively, you could translate backslashes to regular slashes. Should work too. SETLOCAL ENABLEEXTENSIONS SET CWD=%CD:\=/%

Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed

2016-11-14 Thread OwN-3m-All
Thanks guys. That was it. I decided to remove the trailing slash for my purposes. set WD=%~dp0 set WD=%WD:~0,-1% It's working now! On Mon, Nov 14, 2016 at 12:23 PM, Brian Inglis wrote: > On 2016-11-14 07:43, Gerrit Haase wrote: >> >> 2016-11-13 23:19 GMT+01:00 OwN-3m-All wrote: >>> >>> I'd li

Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed

2016-11-14 Thread Brian Inglis
On 2016-11-14 07:43, Gerrit Haase wrote: 2016-11-13 23:19 GMT+01:00 OwN-3m-All wrote: I'd like to automate Cygwin installation, but I don't want to rule out the possibility that a path with a space will not be used. You'll get a warning from Setup: it is strongly recommended, to use a root pat

Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed

2016-11-14 Thread Gerrit Haase
> Try adding a dot: > > set WD=%~dp0 > echo "%WD%." > "setup-x86_64.exe" --root "%WD%." --local-package-dir "%WD%." > pause or set WD=%~dp0. ... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.h

Re: Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed

2016-11-14 Thread Gerrit Haase
2016-11-13 23:19 GMT+01:00 OwN-3m-All wrote: > cd "C:\test\with space" > set WD=%~dp0 > echo "%WD%cygTemp" > "setup-x86_64.exe" --root "%WD%" --local-package-dir "%WD%cygTemp" > pause > The problem is this trailing backslash in the directory name. D:\temp\Neuer Ordner\cygwinpkg>setup_script.bat

Cygwin Setup Command-line Arguments - Paths with a Space Incorrectly Parsed

2016-11-13 Thread OwN-3m-All
Is there a way to pass in paths that contain a space in the --root and --local-package-dir Cygwin command-line arguments? Everything I've tried doesn't work. Here's a sample batch script to reproduce the issue (create a directory with a space in it, copy Cygwin setup exe, and then save batch scri

Re: Cygwin Setup Command Line

2005-12-28 Thread Yitzchak Scott-Thoennes
On Wed, Dec 28, 2005 at 04:23:33PM -0800, Bruce Dobrin wrote: > Hmm, I just tried it and it does appear to sort of work, but it only > installs the "default" and I don't see any way to tell it to do > otherwise. This has been discussed many times. In short, set up a dummy package in setup.iniw

RE: Cygwin Setup Command Line

2005-12-28 Thread Bruce Dobrin
Larry Hall (Cygwin) [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 28, 2005 4:18 PM To: Bruce Dobrin Cc: cygwin@cygwin.com Subject: Re: Cygwin Setup Command Line On 12/28/2005, Bruce Dobrin wrote: > Is there anything new in automating Cygwin setup since the short > command line list at: > h

Re: Cygwin Setup Command Line

2005-12-28 Thread Larry Hall (Cygwin)
On 12/28/2005, Bruce Dobrin wrote: Is there anything new in automating Cygwin setup since the short command line list at: http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html (Referenced in the Cygwin-apps Homepage)? I think that still about covers it. You can check the source if

Cygwin Setup Command Line

2005-12-28 Thread Bruce Dobrin
Hi all, Is there anything new in automating Cygwin setup since the short command line list at: http://sources.redhat.com/ml/cygwin-apps/2003-03/msg00526.html (Referenced in the Cygwin-apps Homepage)? ... And do these commands still work? Since this is a slow week I'm once again digging into tryi