Update base_packages to add a plus to the find command for pruning
Signed-off-by: Scott Zawalski <[email protected]>
--- autotest/client/common_lib/base_packages.py 2010-03-09 10:23:50.000000000
-0800
+++ autotest/client/common_lib/base_packages.py 2010-03-09 10:23:50.000000000
-0800
@@ -77,7 +77,7 @@
older_than_days = global_config.global_config.get_config_value('PACKAGES',
'custom_max_age',
type=int)
- cmd = 'find . -type f -atime %s -exec rm -f {} \;' % older_than_days
+ cmd = 'find . -type f -atime +%s -exec rm -f {} \;' % older_than_days
repo_run_command(repo, cmd, ignore_status=True)
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest