]> git.pld-linux.org Git - projects/pld-ftp-admin.git/blame - wwwbin/clean-test.sh
fix arg passing
[projects/pld-ftp-admin.git] / wwwbin / clean-test.sh
CommitLineData
ed1ec331
ER
1#!/bin/sh
2LC_ALL=C; export LC_ALL
3cd /home/pld/admins/th/ftp/test/SRPMS/.metadata || exit 1
4#for file in `find . -name '*.info' -print`; do
5for file in `find . -name '*.info' -mtime +1 -print`; do
6 dfile=$(basename $file | sed -e 's#^\./##g')
7 if (~/pld-ftp-admin/scripts/test-move.py test ready "$dfile" | grep -q "has only src.rpm built"); then
8 echo "Removing $dfile..."
9 ~/pld-ftp-admin/scripts/remove.py test "$dfile"
10 fi
11done
12for file in `find . -name '*.info' -mtime +100`; do
13 dfile=$(basename $file | sed -e 's#^\./##g')
14 echo "Removing $dfile..."
15 ~/pld-ftp-admin/scripts/remove.py test "$dfile"
16done
This page took 0.305558 seconds and 4 git commands to generate.