From c75182c9300603c755e1c7bfce1759c0e4c2b409 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 28 Feb 2023 17:55:09 +0100 Subject: [PATCH] Fix building zip signature file --- build/generate_filelist_xml.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build/generate_filelist_xml.php b/build/generate_filelist_xml.php index b122f9b0305..45d649d90d9 100755 --- a/build/generate_filelist_xml.php +++ b/build/generate_filelist_xml.php @@ -46,6 +46,7 @@ require_once DOL_DOCUMENT_ROOT."/core/lib/files.lib.php"; $includecustom=0; $includeconstants=array(); +$buildzip=0; if (empty($argv[1])) { print "Usage: ".$script_file." release=autostable|auto[-mybuild]|x.y.z[-mybuild] [includecustom=1] [includeconstant=CC:MY_CONF_NAME:value] [buildzip=1]\n"; @@ -69,6 +70,9 @@ while ($i < $argc) { if (!empty($result["includeconstant"])) { $includeconstants[$i] = $result["includeconstant"]; } + if (!empty($result["buildzip"])) { + $buildzip=1; + } if (preg_match('/includeconstant=/', strval($argv[$i]))) { $tmp=explode(':', $result['includeconstant'], 3); // $includeconstant has been set with previous parse_str() if (count($tmp) != 3) {