mirror of
https://github.com/openwrt/packages.git
synced 2025-12-19 17:11:21 +00:00
This uses two find commands to delete __pycache__ contents then the __pycache__ directories, rather than a for loop. The second command omits a -empty test, so that if the first command doesn't remove all directory contents for some reason, the second command will return an error (find will not delete a non-empty directory). Signed-off-by: Jeffery To <jeffery.to@gmail.com>
1.5 KiB
1.5 KiB