[Commits] [SCM] claws branch, master, updated. 3.9.0-161-ga839f1b
Colin Leroy
colin at colino.net
Fri Mar 22 21:13:16 CET 2013
On 22 March 2013 at 19h33, mones at claws-mail.org wrote:
Hi,
> +MAJOR_VERSION=${GIT_VERSION%%.*}
> +MINOR_VERSION=${GIT_VERSION#*.}
> +MINOR_VERSION=${MINOR_VERSION%%.*}
> +MICRO_VERSION=${GIT_VERSION##*.}
> +MICRO_VERSION=${MICRO_VERSION%%-*}
> +EXTRA_VERSION=${GIT_VERSION#*-}
> +EXTRA_VERSION=${EXTRA_VERSION%%-*}
Exactly what I was about to say!
Can anyone tell me since when bash can be worse than perl ? :)
--
Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/commits/attachments/20130322/369a7db1/attachment.pgp>
More information about the Commits
mailing list