From 5b0a73dcdf58b5bb45ed19aa89940eabad9f755c Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sat, 26 Feb 2011 23:06:00 +0000 Subject: Fix rejected links --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index c4f0fff..5f47534 100644 --- a/index.php +++ b/index.php @@ -123,7 +123,7 @@ $missing_deps = file("missing-deps.i586.txt"); chdir($upload_dir); $all_files = shell_exec("find \( -name '*.rpm' -o -name '*.src.rpm.info' -o -name '*.youri' -o -name '*.lock' -o -name '*.done' \) -ctime -$max_modified -printf \"%p\t%T@\\n\""); -$re = "!^\./(\w+)/((\w+)/(\w+)/(\w+)/(\d+)\.(\w+)\.(\w+)\.(\d+))_?(.+)(\.src\.rpm(?:\.info)?|\.youri|\.lock|\.done)\s+(\d+\.\d+)$!m"; +$re = "!^\./(\w+)/((\w+)/(\w+)/(\w+)/(\d+)\.(\w+)\.(\w+)\.(\d+))_?(.*)(\.src\.rpm(?:\.info)?|\.youri|\.lock|\.done)\s+(\d+\.\d+)$!m"; $r = preg_match_all($re, $all_files, $matches, -- cgit v1.2.1