go about deleting the files differently

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2016-05-16 20:32:30 -05:00
parent b81d96f5d4
commit 5f9f66a2ca

View File

@ -133,5 +133,5 @@ do
./releng/scripts/srpm-excluded-arch.py -a $arches --path $DESTDIR/compose/Everything/source/tree/SRPMS/\*/ >$DESTDIR/logs/excludearch-$koji.log
done
find $TARGET_DIR -xdev -depth -mtime +14 \( -type f -o -type l \) -delete -o -type d -empty -delete
find $TARGET_DIR -xdev -depth -maxdepth 2 -mtime +14 -exec rm -rf {} \;