Mercurial > hg > release > icedtea6-1.8
changeset 1146:5d129b358a4f
* configure.ac: Make DIST_ID more precise. Some implementations of the
lsb_release command quote the output; ignore it.
author | doko@ubuntu.com |
---|---|
date | Wed, 22 Oct 2008 19:37:18 +0200 |
parents | d47e55fa18e5 |
children | 77b03084ebd0 |
files | ChangeLog configure.ac |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Oct 22 19:18:26 2008 +0200 +++ b/ChangeLog Wed Oct 22 19:37:18 2008 +0200 @@ -2,7 +2,8 @@ * Makefile.am: Revert the previous change. Always pass DISTRIBUTION_ID instead. - * configure.ac: Make DIST_ID more precise. + * configure.ac: Make DIST_ID more precise. Some implementations of the + lsb_release command quote the output; ignore it. 2008-10-22 Omair Majid <omajid@redhat.com>
--- a/configure.ac Wed Oct 22 19:18:26 2008 +0200 +++ b/configure.ac Wed Oct 22 19:37:18 2008 +0200 @@ -237,10 +237,11 @@ AC_SUBST(PKGVERSION) if test -n "$LSB_RELEASE"; then + lsb_info="$($LSB_RELEASE -ds | sed 's/^"//;s/"$//')" if test -n "$PKGVERSION"; then - DIST_ID="$DIST_ID, package $PKGVERSION" + DIST_ID="$lsb_info, package $PKGVERSION" else - DIST_ID="Built on $($LSB_RELEASE -ds)" + DIST_ID="Built on $lsb_info" fi else DIST_ID="Custom build ($(date))"