Eric Kow <[EMAIL PROTECTED]> writes:

> Hmm...
>
> Harden release/STATE munger.
> ----------------------------
>> - -DARCS_VERSION_WITH_PATCHES=$(shell sed -e 's/ (//' -e 's/ patches)//' -e 
>> 's/+ /+/' release/STATE)
>> +DARCS_VERSION_WITH_PATCHES=$(DARCS_VERSION)$(shell sed -n '/patches/ { s/.* 
>> \([0-9]\+\) patches.*/+\1/; p }' release/STATE)
>
> This appears to do the right thing, namely only looking for '+n patches'
> and tidying up the output, leaving behind only the n part.  On the other
> hand, it seems that release candidates and pre-releases presumably do
> not get named anything more than $(DARCS_VERSION), which lead to the
> unfortunate situation where somebody grabs a pre-release and thinks it's
> the real thing.

I *think* that the "rc2" part is already included in $(DARCS_VERSION).

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to