diff options
-rwxr-xr-x | scripts/auto-build/create-latest-build-listing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/auto-build/create-latest-build-listing.py b/scripts/auto-build/create-latest-build-listing.py index f0f5a38e..f7d97a88 100755 --- a/scripts/auto-build/create-latest-build-listing.py +++ b/scripts/auto-build/create-latest-build-listing.py @@ -11,7 +11,7 @@ for root, dirs, files in os.walk('/var/www/auto-build/'): if 'latest' in dirs: dirs.remove('latest') for name in files: - m = re.search('^Pd-.*[01]\.[0-9][0-9].*[^5]$', name) + m = re.search('^Pd-[01]\.[0-9][0-9].*[^5]$', name) if m: commonbuildname = re.sub('-20[01][0-9][01][0-9][0-9][0-9]', '', name) commonbuildpath = os.path.join('/var/www/auto-build/latest', commonbuildname) |