changeset in /hg/icedtea6: * configure.ac: Make DIST_ID more pre...
doko at ubuntu.com
doko at ubuntu.com
Wed Oct 22 10:37:45 PDT 2008
changeset 5d129b358a4f in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=5d129b358a4f
description:
* configure.ac: Make DIST_ID more precise. Some implementations of the
lsb_release command quote the output; ignore it.
diffstat:
2 files changed, 5 insertions(+), 3 deletions(-)
ChangeLog | 3 ++-
configure.ac | 5 +++--
diffs (30 lines):
diff -r d47e55fa18e5 -r 5d129b358a4f ChangeLog
--- a/ChangeLog Wed Oct 22 19:18:26 2008 +0200
+++ b/ChangeLog Wed Oct 22 19:37:18 2008 +0200
@@ -2,7 +2,8 @@ 2008-10-22 Matthias Klose <doko at ubuntu
* 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 at redhat.com>
diff -r d47e55fa18e5 -r 5d129b358a4f configure.ac
--- 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)
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))"
More information about the distro-pkg-dev
mailing list