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



commit a4d2d5e0a380649115cd9fbbecbdc68bd22edf6c
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 4293889..eaacdbe 100644
--- a/configure.in
+++ b/configure.in
@@ -261,8 +261,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]