[gnome-games] build: fix LSB_* defines to be correctly quoted



commit e03e6653844cf95e99452a1509d57b999c190c74
Author: Vincent Untz <vuntz gnome org>
Date:   Sat Dec 5 17:29:05 2009 +0100

    build: fix LSB_* defines to be correctly quoted

 configure.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 90dd7e6..a3687cf 100644
--- a/configure.in
+++ b/configure.in
@@ -240,8 +240,8 @@ LSB_DISTRIBUTION=
 
 AC_PATH_PROG([LSB_RELEASE],[lsb_release],[false])
 if test "$LSB_RELEASE" != "false"; then
-  LSB_DISTRIBUTOR="$($LSB_RELEASE -s -i)"
-  LSB_DISTRIBUTION="$($LSB_RELEASE -s -d)"
+  LSB_DISTRIBUTOR="$($LSB_RELEASE -s -i | sed 's,^\",,;s,\"$,,')"
+  LSB_DISTRIBUTION="$($LSB_RELEASE -s -d | sed 's,^\",,;s,\"$,,')"
 fi
 
 AC_DEFINE_UNQUOTED([LSB_DISTRIBUTOR],["$LSB_DISTRIBUTOR"],[The distributor ID])



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]