[PATCH 1/2] Add support for path with spaces

2019-07-14 Thread Federico Kircheis
Quote most variables Otherwise path with spaces or other special characters are interpreted incorrectly --- bin/cygport.in | 74 +- lib/config_registry.cygpart | 8 +-- lib/src_compile.cygpart | 2 +- lib/src_fetch.cygpart | 30 +-- li

[PATCH 2/2] Exit in case `cd` fails

2019-07-14 Thread Federico Kircheis
--- lib/src_fetch.cygpart | 2 +- lib/src_prep.cygpart | 14 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/src_fetch.cygpart b/lib/src_fetch.cygpart index ed61d25..4f3f17e 100644 --- a/lib/src_fetch.cygpart +++ b/lib/src_fetch.cygpart @@ -156,7 +156,7 @@ __src

Re: cygport development

2019-07-14 Thread Brian Inglis
On 2019-07-14 07:25, Federico Kircheis wrote: > I had the unfortunate idea to execute cygport in a directory that had in it's > path at least one whitespace (it's not that uncommon under Windows). > Cygport did not report a clear error, and created files at the wrong location. > I've posted a patch

cygport development

2019-07-14 Thread Federico Kircheis
Hello, I had the unfortunate idea to execute cygport in a directory that had in it's path at least one whitespace (it's not that uncommon under Windows). Cygport did not report a clear error, and created files at the wrong location. I've posted a patch on github a couple of weeks ago (see