[X2Go-Commits] [buildscripts] 01/01: fix variable usage

git-admin at x2go.org git-admin at x2go.org
Sat Oct 11 15:51:32 CEST 2014


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

x2go pushed a commit to branch master
in repository buildscripts.

commit cdf4aec7e60eea568cad8a8ad9e7c4361ce1a24c
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Sat Oct 11 15:51:26 2014 +0200

    fix variable usage
---
 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 ee9d55b..dbfba15 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -230,11 +230,11 @@ build_packages() {
 
 				if [ "x$SKIP_ARCH" != "xx86_64" ] || [ "$IS_NOARCH" = "yes" ]; then
 					if [ "x$l_DIST" = "xopensuse" ]; then
-						OPENSUSE_DOWNLOAD_URL=$(echo "$OPENSUSE_DOWNLOAD_URL" | sed "s/#VERSION#/$l_DIST/")
+						OPENSUSE_DOWNLOAD_URL=$(echo "$OPENSUSE_DOWNLOAD_URL" | sed "s/#VERSION#/$l_CODENAME/")
 						if sudo obs-build \
 						             --clean \
 						             --repo "$OPENSUSE_DOWNLOAD_URL" \
-						             --root "/var/cache/obs-build/$PKGDIST/$l_DIST/$l_CODENAME/x86_64/" \
+						             --root "/var/cache/obs-build/$l_DIST/$l_CODENAME/x86_64/" \
 						             $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm; then
 							mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/x86_64/"
 							mv "/var/cache/obs-build/$PKGDIST/$l_DIST/$l_CODENAME/x86_64/home/abuild/rpmbuild/RPMS/*.rpm" "$PKGDIST/$l_DIST/$l_CODENAME/x86_64/"

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


More information about the x2go-commits mailing list