[X2Go-Commits] [buildscripts] 02/02: bin/build-nsis-package.sh: fix detection of top commit on a branch (or tag).

git-admin at x2go.org git-admin at x2go.org
Thu Apr 30 19:27:48 CEST 2015


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

x2go pushed a commit to branch master
in repository buildscripts.

commit 87a87fee78957f5490ed3850b34aab375ea60419
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu Apr 30 19:27:36 2015 +0200

    bin/build-nsis-package.sh: fix detection of top commit on a branch (or tag).
---
 bin/build-nsis-package.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/build-nsis-package.sh b/bin/build-nsis-package.sh
index a5b023e..cb94a2f 100755
--- a/bin/build-nsis-package.sh
+++ b/bin/build-nsis-package.sh
@@ -124,7 +124,7 @@ prepare_workspace() {
 		git clean -df
 	fi
 
-	GIT_OBJECT_ID=`git show-ref -s heads/master`
+	GIT_OBJECT_ID="$(git rev-parse --verify HEAD)"
 	cd "$PROJECT_DIR"
 
 	# by default we build for all current debian versions

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