Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Apr 2019 06:50:26 +0000
From:      Alexey Dokuchaev <danfe@freebsd.org>
To:        "Tobias C. Berner" <tcberner@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r500365 - head/sysutils/etc_os-release
Message-ID:  <20190429065025.GA46915@FreeBSD.org>
In-Reply-To: <201904281944.x3SJiofJ024818@repo.freebsd.org>
References:  <201904281944.x3SJiofJ024818@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 28, 2019 at 07:44:50PM +0000, Tobias C. Berner wrote:
> New Revision: 500365
> URL: https://svnweb.freebsd.org/changeset/ports/500365
> 
> Log:
>   sysutils/etc_os-release: fix mixup between VERSION_ID and ID
> 
> ...
>  CATEGORIES=	sysutils kde gnome
>  MASTER_SITES=	#
>  DISTFILES=	#
> @@ -19,8 +20,8 @@ VERSION_ID=	${VERSION:C/^([0-9\.]+).*/\1/}
>  
>  CONTENTS=	'NAME=FreeBSD\0'$\
>  		'VERSION=${VERSION}\0'$\
> -		'ID=${VERSION_ID}\0'$\
> -		'VERSION_ID=freebsd\0'$\
> +		'VERSION_ID=${VERSION_ID}\0'$\
> +		'ID=freebsd\0'$\

Why not ${OPSYS:tl}?

>  		'ANSI_COLIR="0;31"\0'$\

COLIR?

>  		'PRETTY_NAME="FreeBSD ${VERSION}"\0'$\

And not ${OPSYS} here?

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190429065025.GA46915>