[X2Go-Commits] [buildscripts] 01/01: bin/build-rpm-package: fix --repo order in obs-build call.

git-admin at x2go.org git-admin at x2go.org
Wed Mar 25 20:39:42 CET 2015


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

x2go pushed a commit to branch master
in repository buildscripts.

commit bdcaeb9a8352662d6310f8299a2965cca4b6ae24
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Wed Mar 25 20:39:34 2015 +0100

    bin/build-rpm-package: fix --repo order in obs-build call.
---
 bin/build-rpm-package |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 834b6f4..a598fc4 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -406,8 +406,8 @@ build_packages() {
 						OTHERMIRROR="$(get_extra_repository "suse" "${l_DIST}" "${l_CODENAME}" "${COMPONENT}" "${PROJECT}" "x86_64")"
 						if sudo obs-build \
 						             --nosignature \
-						             --repo "$DOWNLOAD_URL" \
 						             ${OTHERMIRROR} \
+						             --repo "$DOWNLOAD_URL" \
 						             --root "/var/cache/obs-build/$l_DIST/$l_CODENAME/x86_64/" \
 						             --clean \
 						             $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES/$PROJECT.spec; then
@@ -483,8 +483,8 @@ build_packages() {
 						OTHERMIRROR="$(get_extra_repository "suse" "${l_DIST}" "${l_CODENAME}" "${COMPONENT}" "${PROJECT}" "i386")"
 						if linux32 sudo obs-build \
 						                    --nosignature \
-						                    --repo "$DOWNLOAD_URL" \
 						                    ${OTHERMIRROR} \
+						                    --repo "$DOWNLOAD_URL" \
 						                    --root "/var/cache/obs-build/$l_DIST/$l_CODENAME/i386/" \
 						                    --clean \
 						                    $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SOURCES/$PROJECT.spec; then

--
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