[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: common.sh: properly escape the double quote signs in the footer description

Holger Levsen holger at layer-acht.org
Tue Oct 18 17:02:55 UTC 2016


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

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 0ec20c9e4006d55c2fbffbe16f240b8a1f496946
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Tue Oct 18 16:55:47 2016 +0000

    reproducible: common.sh: properly escape the double quote signs in the footer description
    
    those strings will end up in a JSON-like string, which need the " signs to be escaped
    
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_common.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 1aeb364..43b830f 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -336,13 +336,13 @@ write_page_intro() {
 
 write_page_footer() {
 	if [ "$1" = "coreboot" ] ; then
-		other_distro_details="The <a href=\"http://www.coreboot.org\">Coreboot</a> logo is Copyright © 2008 by Konsult Stuge and coresystems GmbH and can freely be used to refer to the Coreboot project."
+		other_distro_details='The <a href=\"http://www.coreboot.org\">Coreboot</a> logo is Copyright © 2008 by Konsult Stuge and coresystems GmbH and can freely be used to refer to the Coreboot project.'
 	elif [ "$1" = "NetBSD" ] ; then
 		other_distro_details="NetBSD® is a registered trademark of The NetBSD Foundation, Inc."
 	elif [ "$1" = "FreeBSD" ] ; then
 		other_distro_details="FreeBSD is a registered trademark of The FreeBSD Foundation. The FreeBSD logo and The Power to Serve are trademarks of The FreeBSD Foundation."
 	elif [ "$1" = "Arch Linux" ] ; then
-		other_distro_details="The <a href=\"https://www.archlinux.org\">Arch Linux</a> name and logo are recognized trademarks. Some rights reserved. The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis."
+		other_distro_details='The <a href=\"https://www.archlinux.org\">Arch Linux</a> name and logo are recognized trademarks. Some rights reserved. The registered trademark Linux® is used pursuant to a sublicense from LMI, the exclusive licensee of Linus Torvalds, owner of the mark on a world-wide basis.'
 	elif [ "$1" = "fedora-23" ] ; then
 		other_distro_details="FIXME: add fedora copyright+trademark disclaimers here."
 	else

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list