[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: reproducible Debian: create target directory if it doesnt exist

Holger Levsen gitlab at salsa.debian.org
Wed Feb 26 23:46:56 GMT 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
8e978f69 by Holger Levsen at 2020-02-27T00:45:43+01:00
reproducible Debian: create target directory if it doesnt exist

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
aada4924 by Holger Levsen at 2020-02-27T00:46:46+01:00
reproducible Debian: postgresql seems to be picky about quotes

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


2 changed files:

- bin/reproducible_common.sh
- bin/reproducible_html_builtin-pho.sh


Changes:

=====================================
bin/reproducible_common.sh
=====================================
@@ -1,7 +1,7 @@
 #!/bin/bash
 # vim: set noexpandtab:
 
-# Copyright 2014-2019 Holger Levsen <holger at layer-acht.org>
+# Copyright 2014-2020 Holger Levsen <holger at layer-acht.org>
 #         © 2015-2018 Mattia Rizzolo <mattia at mapreri.org>
 # released under the GPLv2
 #
@@ -584,6 +584,7 @@ publish_page() {
 		TARGET=$PAGE
 	else
 		TARGET=$1/$PAGE
+		mkdir -p $TARGET
 	fi
 	echo "$(date -u) - $(cp -v $PAGE $BASE/$TARGET)"
 	rm $PAGE


=====================================
bin/reproducible_html_builtin-pho.sh
=====================================
@@ -28,15 +28,15 @@ select distinct p.source,p.version
 from
       binary_packages p
 where
-      p.suite="$SUITE"
+      p.suite='$SUITE'
 except
         select p.source,p.version
 from binary_packages p, builds b
 where
       b.source=p.source
       and p.version=b.version
-      and ( (b.arch_all and p.arch="all") or
-            (b.arch_$SUITE and p.arch="$ARCH") )
+      and ( (b.arch_all and p.arch='all') or
+            (b.arch_$SUITE and p.arch='$ARCH') )
 EOF
 }
 



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/d69c09ee09b1923c77c1bff08396e335a03792d0...aada49241b7c67921b16d5127368c0901d10d0be

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/compare/d69c09ee09b1923c77c1bff08396e335a03792d0...aada49241b7c67921b16d5127368c0901d10d0be
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200226/a5536ec8/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list