[X2Go-Commits] [buildscripts] 01/01: bin/sbuild-deb-package: create source tarballs with DEBSRCPKG name, not project name (which might differ).

git-admin at x2go.org git-admin at x2go.org
Fri Aug 17 16:39:13 CEST 2018


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

x2go pushed a commit to branch master
in repository buildscripts.

commit f18e2832b35a13a6c48fca080a376cefb0cdab91
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Fri Aug 17 16:39:09 2018 +0200

    bin/sbuild-deb-package: create source tarballs with DEBSRCPKG name, not project name (which might differ).
---
 bin/sbuild-deb-package | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/sbuild-deb-package b/bin/sbuild-deb-package
index e3d5f10..a4f0fa8 100755
--- a/bin/sbuild-deb-package
+++ b/bin/sbuild-deb-package
@@ -357,7 +357,7 @@ build_packages() {
 					# Failures to do so are fatal now.
 					git fetch origin "refs/heads/upstream/${upstream_git_branch}:refs/heads/upstream/${upstream_git_branch}"
 
-					git archive --prefix="${PROJECT}-${UPSTREAM_VERSION}/" -o "../${PROJECT}_${UPSTREAM_VERSION}.orig.tar.gz" "upstream/${upstream_git_branch}" && {
+					git archive --prefix="${DEBSRCPKG}-${UPSTREAM_VERSION}/" -o "../${DEBSRCPKG}_${UPSTREAM_VERSION}.orig.tar.gz" "upstream/${upstream_git_branch}" && {
 						SA_OPTION='--debbuildopts=-sa'
 					} || echo '1.0' > "debian/source/format"
 				}

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list