[EMAIL PROTECTED] writes:

> -# Lustre version to use 
> -VERSION=`basename $TOP_DIR |awk -F- '{print $2}'`
> +# Lustre version to use
> +VERSION=`cat $(TOP_DIR)/debian/lustre-version`
>  SUPPORTED_KERNELS=2.6.18 2.6.20 2.6.22
> +UPVERSION=`basename $(TOP_DIR) | awk -F- '{print $2}'`

Wouldn't it be better to parse the changelog here?

>From memory:
VERSION=$(shell dpkg-parsechangelog | grep Version | cut -d" " -f2)
UPVERSION=$(shell echo $(VERSION) | cut -d- -f1)

MfG
        Goswin

_______________________________________________
Pkg-lustre-svn-commit mailing list
Pkg-lustre-svn-commit@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-lustre-svn-commit

Reply via email to