From 837fe39a0c50afc65603fa8195a5647bbfa42802 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 21 Oct 2017 14:35:05 +0200 Subject: [PATCH] fix preg_replace(): No ending delimiter '/' found on line 904 --- doc/rpm-build/checkout-build-archives.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index b8ab25631b..7788a93555 100755 --- a/doc/rpm-build/checkout-build-archives.php +++ b/doc/rpm-build/checkout-build-archives.php @@ -899,7 +899,7 @@ function update_api_setup($path) throw new Exception("Could not read file '$path' to update maintenance-version!"); } - $content = preg_replace('/'.preg_quote("\$setup_info['api']['versions']['maintenance_release']", '/').'[^;]+;', + $content = preg_replace('/'.preg_quote("\$setup_info['api']['versions']['maintenance_release']", '/').'[^;]+;/', "\$setup_info['api']['versions']['maintenance_release'] = '".$config['version'].'.'.$config['packaging']."';", $content);