From 02705fd95aeee42f888f13fce033d1f7e6eb2127 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 6 Jun 2016 17:24:44 +0200 Subject: [PATCH] allow curly braces in upload glob --- doc/rpm-build/checkout-build-archives.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rpm-build/checkout-build-archives.php b/doc/rpm-build/checkout-build-archives.php index 795a845fde..af5c577478 100755 --- a/doc/rpm-build/checkout-build-archives.php +++ b/doc/rpm-build/checkout-build-archives.php @@ -403,9 +403,9 @@ function do_upload() } $archives = config_translate('upload'); - echo "Uploading $archives\n"; + echo "Uploading $archives to $config[upload_url]\n"; - foreach(glob($archives) as $path) + foreach(glob($archives, GLOB_BRACE) as $path) { $label = null; if (substr($path, -4) == '.zip')