pwhalen / pungi-fedora

Forked from pungi-fedora 4 years ago
Clone

d434ffe we can not use -delete as we have to limit the depth so we do not remove files from the current composes

Authored and Committed by ausil 7 years ago
1 file changed. 1 lines added. 1 lines removed.
    we can not use -delete as we have to limit the depth so we do not remove files from the current composes
    
    the rm -rf is needed to clean up the directories -delete gives us
    find: cannot delete '/mnt/koji/compose/rawhide/Fedora-Rawhide-20160512.n.0/compose': Directory not empty
    find: cannot delete '/mnt/koji/compose/rawhide/Fedora-Rawhide-20160512.n.0/logs': Directory not empty
    
    Revert "Use -delete instead of -exec rm it's quicker because it doesn't fork for every file"
    
    This reverts commit e45177a4c6a0dc6278dce858095422c67b9fb699.
    
    Signed-off-by: Dennis Gilmore <dennis@ausil.us>
    
        
file modified
+1 -1