Re: [PATCH 1/2 v2] Filter newlines from BUILD_REQUIRES

2022-12-06 Thread Brian Inglis via Cygwin-apps
Hi folks, Remember we're using 21st century bash: __squeeze_whitespace() { echo -n ${*//[[:space:]]/ } } seems to take care of all varieties and amounts of spacing characters: $ info bash basic 'shell exp' filename pattern where the variations appear unlimited. -- Take care.

Re: [PATCH 1/2 v2] Filter newlines from BUILD_REQUIRES

2022-12-03 Thread Corinna Vinschen via Cygwin-apps
On Dec 3 18:07, Jon Turney via Cygwin-apps wrote: > On 03/12/2022 16:19, Corinna Vinschen via Cygwin-apps wrote: > > From: Corinna Vinschen > > > > BUILD_REQUIRES is added verbatim to the build-depends: line in > > the *-src.hint file. If the cygport file defines BUILD_REQUIRES > > with

Re: [PATCH 1/2 v2] Filter newlines from BUILD_REQUIRES

2022-12-03 Thread Jon Turney via Cygwin-apps
On 03/12/2022 16:19, Corinna Vinschen via Cygwin-apps wrote: From: Corinna Vinschen BUILD_REQUIRES is added verbatim to the build-depends: line in the *-src.hint file. If the cygport file defines BUILD_REQUIRES with newlines, e. g. BUILD_REQUIRES=" a b " The -src.hint file

[PATCH 1/2 v2] Filter newlines from BUILD_REQUIRES

2022-12-03 Thread Corinna Vinschen via Cygwin-apps
From: Corinna Vinschen BUILD_REQUIRES is added verbatim to the build-depends: line in the *-src.hint file. If the cygport file defines BUILD_REQUIRES with newlines, e. g. BUILD_REQUIRES=" a b " The -src.hint file is broken. Avoid this by filtering out any newline's from