[PATCH util-modular 2/4] release.sh: move the bit to extract the section into a function

Gaetan Nadon memsize at videotron.ca
Thu May 29 14:53:51 PDT 2014


On 14-05-29 12:51 AM, Peter Hutterer wrote:
> No functional changes intended
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  release.sh | 128 +++++++++++++++++++++++++++++++++++--------------------------
>  1 file changed, 74 insertions(+), 54 deletions(-)
>
> diff --git a/release.sh b/release.sh
> index abfcc29..a05b0c9 100755
> --- a/release.sh
> +++ b/release.sh
> @@ -195,6 +195,63 @@ process_modules() {
>  #------------------------------------------------------------------------------
>  #			Function: process_module
should be get_section
>  #------------------------------------------------------------------------------
> +# Code 'return 0' on success
> +# Code 'return 1' on error
> +# Sets global variable $section
> +get_section() {
I failed to send my first two replies to the list, sorry.


More information about the xorg-devel mailing list