[ITP] moc (2.6.r3005)
Takashi Yano
takashi.yano@nifty.ne.jp
Tue Feb 14 09:11:10 GMT 2023
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.
--
Takashi Yano <takashi.yano@nifty.ne.jp>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: moc.cygport
URL: <https://cygwin.com/pipermail/cygwin-apps/attachments/20230214/24485bc1/attachment.ksh>
More information about the Cygwin-apps
mailing list