[aur-general] package version with hyphen

Hervé Cauwelier herve at oursours.net
Tue Mar 30 09:12:49 CEST 2010


On 03/29/10 16:37, Ray Rashif wrote:
> Note:
>
> _pkgver=1.0-beta
> pkgver=${pkgver/-/_}
>
> as displayed here indicates a typo at line 2, which when fixed would look like:
>
> pkgver=${_pkgver/-/_}
>
> A better way to handle that would be to handle that in a simpler way:
>
> pkgver=1.0_beta
> _pkgver=1.0-beta
>
> That's all there is to it, there isn't anymore.

Yes, I typed from what I recalled but my memory got wrong.

Thanks for sharing your experience.

-- 
Hervé Cauwelier



More information about the aur-general mailing list