Fix : Use xargs for better compat.

This commit is contained in:
Dmitry Voronin 2024-02-01 16:09:42 +03:00
parent 09a28c47e7
commit 0b22d1dd7a

View file

@ -20,5 +20,5 @@ function fix_files_sftp() {
# Delete lost Gradle lock files. # Delete lost Gradle lock files.
function fix_gradle_lock() { function fix_gradle_lock() {
cd "${HOME}/.gradle" && find -type f | grep \\.lock$ | parallel -- rm {} cd "${HOME}/.gradle" && find -type f | grep \\.lock$ | xargs -- rm
} }