From 6c6527b66daedf6ede4fcc4e3851cb97733b7d9e Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Tue, 17 Aug 2010 17:44:09 +0200 Subject: [PATCH] [gnome-shell-build-setup.sh] Fix for lsb_release system value containing space On SLED11, lsb_release system is "SUSE LINUX", breaking the script. Adding quotes fixes this issue. https://bugzilla.gnome.org/show_bug.cgi?id=627172 --- tools/build/gnome-shell-build-setup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh index a43b7f981..81c2e0964 100755 --- a/tools/build/gnome-shell-build-setup.sh +++ b/tools/build/gnome-shell-build-setup.sh @@ -69,7 +69,7 @@ fi # # (*) only needed for --xephyr -if test x$system = xUbuntu -o x$system = xDebian -o x$system = xLinuxMint ; then +if test "x$system" = xUbuntu -o "x$system" = xDebian -o "x$system" = xLinuxMint ; then reqd="" if [ ! -x /usr/bin/dpkg-checkbuilddeps ]; then echo "Please run 'sudo apt-get install dpkg-dev' and try again." @@ -96,7 +96,7 @@ if test x$system = xUbuntu -o x$system = xDebian -o x$system = xLinuxMint ; then fi fi -if test x$system = xFedora ; then +if test "x$system" = xFedora ; then reqd=" binutils curl gcc gcc-c++ make automake bison flex gettext git gnome-common gnome-doc-utils gvfs intltool @@ -122,7 +122,7 @@ if test x$system = xFedora ; then fi fi -if test x$system = xSUSE ; then +if test "x$system" = xSUSE -o "x$system" = "xSUSE LINUX" ; then reqd="" for pkg in \ curl \ @@ -142,7 +142,7 @@ if test x$system = xSUSE ; then fi fi -if test x$system = xMandrivaLinux ; then +if test "x$system" = xMandrivaLinux ; then reqd="" for pkg in \ curl \