[X2Go-Commits] [buildscripts] 01/01: bin/build-osx-package: fix wrong variable names.

git-admin at x2go.org git-admin at x2go.org
Fri Apr 7 09:06:08 CEST 2017


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

x2go pushed a commit to branch master
in repository buildscripts.

commit 2792f9800f8fd8f71a87af04ea2661e65c327f7c
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Apr 7 09:05:59 2017 +0200

    bin/build-osx-package: fix wrong variable names.
---
 bin/build-osx-package | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/build-osx-package b/bin/build-osx-package
index 7bbaedd..6306871 100755
--- a/bin/build-osx-package
+++ b/bin/build-osx-package
@@ -262,15 +262,15 @@ build_packages() {
 
 			# FIXME: this is not generic at all.
 			typeset top_commit_id="$(git rev-parse --no-flags "HEAD^{commit}")"
-			typeset base_name="${PROJECT}-${UPSTREAM_VERSION}."
+			typeset base_name="${PROJECT}-${upstream_version}."
 			if [ "${is_release}" -eq "0" ]; then
-				base_name="${base_name}git${DATE}.${GITREV}.${COMPONENT}."
+				base_name="${base_name}git${DATE}.${gitrev}.${COMPONENT}."
 			else
 				base_name="${base_name}${DATE}."
 			fi
 			base_name="${base_name}OSX_${os_major}_${os_minor}.dmg"
 			mv "client_build/${PROJECT}.dmg" "${PKGDIST}/${l_CODENAME}/${base_name}"
-			echo 'https://code.x2go.org/gitweb?p=x2goclient.git;a=commit;h='"${top_commit_id}" > "${PKG_DIST}/${l_CODENAME}/${base_name}.git.txt"
+			echo 'https://code.x2go.org/gitweb?p=x2goclient.git;a=commit;h='"${top_commit_id}" > "${PKGDIST}/${l_CODENAME}/${base_name}.git.txt"
 		done
 	done
 	return 0

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