On 14/02/2023 09:11, Takashi Yano via Cygwin-apps wrote:
On Mon, 13 Feb 2023 18:25:43 +0000
Jon Turney wrote:
On 09/02/2023 12:54, Takashi Yano via Cygwin-apps wrote:
NAME="moc"
VERSION=2.6.r3005
RELEASE=1
[...]
SVN_URI="svn://svn.daper.net/moc/trunk"
SVN_REV="3005"
inherit svn
You could (and probably should) write this as
SVN_REV=${VERSION##*.r}
so you don't have to remember to update it in both places.
(See 'Remove matching prefix pattern' in the section 'Parameter
Expansion' in 'man bash')
Otherwise, looks good.
Thanks. I revised the cygport file.
Approved.