[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: fix OpenSuSE download URL rewrite.
git-admin at x2go.org
git-admin at x2go.org
Tue Mar 22 05:43:12 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit 12240e7d06959714638ec7fd1aff39bdca961384
Author: Mihai Moldovan <ionic at ionic.de>
Date: Tue Mar 22 05:43:05 2016 +0100
bin/build-rpm-package: fix OpenSuSE download URL rewrite.
---
bin/build-rpm-package | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index d2671de..a89dc51 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -671,12 +671,12 @@ build_packages() {
fi
if [ "x${l_DIST}" = "xopensuse" ]; then
- DOWNLOAD_URL="$(sed "s/#VERSION#/${l_CODENAME}/" <<< "${OPENSUSE_DOWNLOAD_URL}")"
+ DOWNLOAD_URL="$(sed -e "s/#VERSION#/${l_CODENAME}/" <<< "${OPENSUSE_DOWNLOAD_URL}")"
if [ "${tmp_suse_major_version}" -gt "13" ]; then
- DOWNLOAD_URL="$(sed -e 's_#LEAP#_leap/_' <<< "${OPENSUSE_DOWNLOAD_URL}")"
+ DOWNLOAD_URL="$(sed -e 's_#LEAP#_leap/_' <<< "${DOWNLOAD_URL}")"
else
- DOWNLOAD_URL="$(sed -e 's_#LEAP#__' <<< "${OPENSUSE_DOWNLOAD_URL}")"
+ DOWNLOAD_URL="$(sed -e 's_#LEAP#__' <<< "${DOWNLOAD_URL}")"
fi
elif [ "x${l_DIST}" = "xsle" ]; then
DOWNLOAD_URL="$(sed "s/#VERSION#/${l_CODENAME}/" <<< "${SLE_DOWNLOAD_URL}")"
--
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