Fix : Use xargs for better compat.
This commit is contained in:
parent
09a28c47e7
commit
0b22d1dd7a
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue