[X2Go-Commits] [buildscripts] 01/07: bin/build-rpm-package: use variable we already have to replace a not-so-smart check.

git-admin at x2go.org git-admin at x2go.org
Thu Nov 16 01:25:48 CET 2017


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

x2go pushed a commit to branch master
in repository buildscripts.

commit da0f3ed94ac3e82ccaa7297134286f9c466026aa
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Nov 15 23:47:04 2017 +0100

    bin/build-rpm-package: use variable we already have to replace a not-so-smart check.
---
 bin/build-rpm-package | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 10ae89a..63d1ce1 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -875,7 +875,7 @@ build_packages() {
 						fi
 					elif [ "x${l_DIST}" = "xsle" ]; then
 						DOWNLOAD_URL="$(sed "s/#VERSION#/${l_CODENAME}/" <<< "${SLE_DOWNLOAD_URL}")"
-						if [ "${l_CODENAME}" = "11.2" ] || [ "${l_CODENAME}" = "11.3" ]; then
+						if [ "${tmp_suse_major_version}" -lt "12" ]; then
 							BUILD_RESULT="/usr/src/packages"
 						fi
 					fi

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


More information about the x2go-commits mailing list