${VERSION%.*} in DETAILS - Was - Re: [Lunar-commits] <moonbase> Twisted: Version bumped to 11.0.0 + DETAILS fixes
Duncan Gibson
duncan.gibson at xs4all.nl
Wed Jun 15 11:19:58 CEST 2011
> commit 664876b61b7bdf66f905e8d84aa616ba28fea7ee
> Author: Stefan Wold <ratler at lunar-linux.org>
> Date: Wed Jun 15 08:45:05 2011 +0200
>
> Twisted: Version bumped to 11.0.0 + DETAILS fixes
>
> - Refrain from using $MAJOR approach, it's not compatible with lin -w
> python/Twisted/DETAILS | 11 +++++------
> + VERSION=11.0.0
> + SOURCE_URL=http://twistedmatrix.com/Releases/$MODULE/${VERSION%.*}
I read the bash man page on ${parameter%word} but I'm not really any
wiser on what the substitution could potentially expand to and match.
Any chance of a "Bash for Dummies" explanation on what this will do?
Also, like sofar's fix in theedge that will remove the need for $C_FIFO,
is the plan to replace:
a) all use of $MAJOR,
b) all use of $VERSION in the SOURCE_URL with ${VERSION%.*}
throughout the complete moonbase?
Cheers
D.
More information about the Lunar-dev
mailing list