[Mageia-sysadm] [317] Re-apply blino's fix

root at mageia.org root at mageia.org
Tue Jan 18 16:06:13 CET 2011


Revision: 317
Author:   pterjan
Date:     2011-01-18 16:06:13 +0100 (Tue, 18 Jan 2011)
Log Message:
-----------
Re-apply blino's fix

Modified Paths:
--------------
    build_system/web/index.php

Modified: build_system/web/index.php
===================================================================
--- build_system/web/index.php	2011-01-18 13:04:07 UTC (rev 316)
+++ build_system/web/index.php	2011-01-18 15:06:13 UTC (rev 317)
@@ -46,7 +46,7 @@
 
 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,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20110118/bb573f59/attachment.html>


More information about the Mageia-sysadm mailing list