Module: tools Branch: master Commit: d39eacfabf5308e8b20f6169d69e58d7f2bb565d URL: https://source.winehq.org/git/tools.git/?a=commit;h=d39eacfabf5308e8b20f6169...
Author: Francois Gouget fgouget@codeweavers.com Date: Sat Apr 10 12:24:10 2021 +0200
winetest/cron: Fix archiving/purging old data.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
winetest/winetest.cron | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/winetest/winetest.cron b/winetest/winetest.cron index d7f0344..dc4108b 100755 --- a/winetest/winetest.cron +++ b/winetest/winetest.cron @@ -83,7 +83,7 @@ then tar cfj "$dir.tar.bz2" "$dir" touch -r "$dir" "$dir.tar.bz2" rm -rf "$dir" - fi ) + ) fi
# remove old build reports if [ -n "$build_expire" ] @@ -92,7 +92,7 @@ then cd old-data find . -mtime "+$build_expire" -name "*.tar.*" -print0 | \ xargs -0 rm -f - fi ) + ) fi
# remove old winetest binaries if [ -n "$winetest_expire" ] @@ -102,7 +102,7 @@ then cd builds find . -mtime "+$winetest_expire" -name "winetest*.exe" -print0 | \ xargs -0 rm -f - fi ) + ) fi
# remove old queued files if [ -n "$queue_expire" ]