[gnome-shell] [gnome-shell-build-setup.sh] Fix for lsb_release system value containing space
- From: Frédéric Crozat <fcrozat src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] [gnome-shell-build-setup.sh] Fix for lsb_release system value containing space
- Date: Tue, 17 Aug 2010 16:26:59 +0000 (UTC)
commit 6c6527b66daedf6ede4fcc4e3851cb97733b7d9e
Author: Frederic Crozat <fcrozat novell com>
Date: Tue Aug 17 17:44:09 2010 +0200
[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 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tools/build/gnome-shell-build-setup.sh b/tools/build/gnome-shell-build-setup.sh
index a43b7f9..81c2e09 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 \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]