From 5f9f66a2ca8940d66f3e8fa433df7111529375b3 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Mon, 16 May 2016 20:32:30 -0500 Subject: [PATCH] go about deleting the files differently Signed-off-by: Dennis Gilmore --- nightly.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nightly.sh b/nightly.sh index 722696a..010af68 100755 --- a/nightly.sh +++ b/nightly.sh @@ -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 {} \;