Re: CYGWIN_FILES confusion
Jon Turney via Cygwin-apps <[email protected]> Thu, 25 Sep 2025 19:06:32 +0100
| Newsgroups | gmane.os.cygwin.applications |
|---|---|
| Message-ID | <[email protected]> |
On 25/09/2025 17:27, Andrew Schulman via Cygwin-apps wrote:
> In screen.cygport, I have
>
> CYGWIN_FILES="
> CYGWIN-PATCHES/README
> CYGWIN-PATCHES/colortest.sh
> "
>
> cygport is happy with this. It reads ${top}/CYGWIN-PATCHES/README et al. and
> installs them correctly.
>
> However calm doesn't like it. From
> https://github.com/cygwin/scallywag/actions/runs/18013629781/job/51252720116:
>
>>>> Creating source package
> cp: cannot stat
> '/cygdrive/d/a/scallywag/screen/screen-5.0.1-3.x86_64/src/screen-5.0.1/CYGWIN-PATCHES/CYGWIN-PATCHES/README':
> No such file or directory
>
> Note that calm is looking in ${S}/CYGWIN-PATCHES/CYGWIN-PATCHES.
Huh.
I think only anticipated this would be used with simple filenames, and
that's probably all I've tested it with.
You shouldn't need to prefix the filenames in CYGWIN_FILES with
"CYGWIN_PATCHES/". Does it not work in that form?
Maybe there's a bug here, or the documentation need a bit of improvement?