[X2Go-Commits] [x2gomatebindings] 01/02: debian/rules: fix ifeq call by adding a space character between ifeq and the opening parenthesis.

git-admin at x2go.org git-admin at x2go.org
Sat Jun 11 14:57:55 CEST 2016


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gomatebindings.

commit d64e8697dfa7ecf9092c31a9829e1b00cd84e06b
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Jun 11 14:28:30 2016 +0200

    debian/rules: fix ifeq call by adding a space character between ifeq and the opening parenthesis.
---
 debian/changelog |    2 ++
 debian/rules     |    4 +---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index ce3e65d..fddb7b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -40,6 +40,8 @@ x2gomatebindings (0.0.1.4-0~x2go1) UNRELEASED; urgency=low
     - Add per-distro and per-version substitution variable for GTK library
       version selection.
     - Use bash for arithmetic operations, not supported by sh.
+    - Fix ifeq call by adding a space character between ifeq and the opening
+      parenthesis.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Tue, 10 Feb 2015 23:48:43 +0100
 
diff --git a/debian/rules b/debian/rules
index 433885e..358313f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,7 @@ ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER) >= 9 )) && echo yes'),yes)
 	SUBSTVARS = -Vdist:Depends="libgtk-3.0-bin"
 	USE_GTK = 3.0
 endif
-else
-ifeq($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
+else ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
 	RELEASE_VER_MAJOR = $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[	 ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '1')
 	RELEASE_VER_MINOR = $(shell /usr/bin/lsb_release -r | /bin/sed -e 's/[	 ]*//g' | /usr/bin/cut -d ':' -f '2' | /usr/bin/cut -d '.' -f '2')
 	SUBSTVARS = -Vdist:Depends="libgtk-2.0-bin"
@@ -21,7 +20,6 @@ ifeq ($(shell /bin/bash -c '(( $(RELEASE_VER_MINOR) >= 10 )) && echo yes'),yes)
 endif
 endif
 endif
-endif
 
 %:
 	dh $@

--
Alioth's /srv/git/code.x2go.org/x2gomatebindings.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2gomatebindings.git


More information about the x2go-commits mailing list