fix: remove find -print0

This commit is contained in:
James Hegedus 2021-05-19 19:43:16 +10:00 committed by GitHub
parent 26d2c64477
commit b9228a26de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ plugin_update_command() {
if [ "$plugin_name" = "--all" ]; then
if [ -d "$(asdf_data_dir)"/plugins ]; then
find "$(asdf_data_dir)"/plugins -mindepth 1 -maxdepth 1 -type d -print0 | while IFS= read -r dir; do
find "$(asdf_data_dir)"/plugins -mindepth 1 -maxdepth 1 -type d | while IFS= read -r dir; do
update_plugin "$(basename "$dir")" "$dir" "$gitref" &
done
wait