diff options
author | Pascal Terjan <pterjan@mageia.org> | 2011-02-26 23:06:00 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2011-02-26 23:06:00 +0000 |
commit | 5b0a73dcdf58b5bb45ed19aa89940eabad9f755c (patch) | |
tree | 083bd066beecc3cebddcb395d5b9498684284d4b /index.php | |
parent | 13e6119556430054e04f51cf12d3ed48cfc7847d (diff) | |
download | pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.tar pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.tar.gz pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.tar.bz2 pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.tar.xz pkgsubmit-5b0a73dcdf58b5bb45ed19aa89940eabad9f755c.zip |
Fix rejected links
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, |