[X2Go-Commits] [buildscripts] 21/26: bin/sbuild-deb-package: backport from bin/build-deb-package: fix hardcoded "release" string to use ${COMPONENT_RELEASE}.
git-admin at x2go.org
git-admin at x2go.org
Sun Nov 13 20:35:47 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit d477e3ffadd01f46516879d0930f848376bcfdbc
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun Nov 13 20:19:37 2016 +0100
bin/sbuild-deb-package: backport from bin/build-deb-package: fix hardcoded "release" string to use ${COMPONENT_RELEASE}.
---
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 8a076b2..c9e9b6d 100755
--- a/bin/sbuild-deb-package
+++ b/bin/sbuild-deb-package
@@ -288,7 +288,7 @@ build_packages() {
fi
# modify the section for non-release package builds
- [ "x${COMPONENT}" != "xrelease" ] && {
+ [ "x${COMPONENT}" != "x${COMPONENT_RELEASE}" ] && {
mv -- "debian/control" "debian/control.tmp"
sed "s,Section:[\ ]*\(.*\),Section: ${COMPONENT}/\1,g" debian/control.tmp > debian/control
}
--
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