summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2011-01-18 15:06:13 +0000
committerPascal Terjan <pterjan@mageia.org>2011-01-18 15:06:13 +0000
commit48cb3e5e466ae51b03512190b06d17936c80942a (patch)
tree0e44e00df911f9af1dc5fa4e3d0b1e38d56858f8
parent9fdda7e60bdef94d0a171edfa118ae52992361ae (diff)
downloadpkgsubmit-48cb3e5e466ae51b03512190b06d17936c80942a.tar
pkgsubmit-48cb3e5e466ae51b03512190b06d17936c80942a.tar.gz
pkgsubmit-48cb3e5e466ae51b03512190b06d17936c80942a.tar.bz2
pkgsubmit-48cb3e5e466ae51b03512190b06d17936c80942a.tar.xz
pkgsubmit-48cb3e5e466ae51b03512190b06d17936c80942a.zip
Re-apply blino's fix
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 5947f70..a1c9d90 100644
--- a/index.php
+++ b/index.php
@@ -46,7 +46,7 @@ shell_exec('grep -v mga src.txt > src.mdv.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\"");
+$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";
$r = preg_match_all($re,
$all_files,