🐛 Fix issue where not all installers were run

Not entirely sure why, but find | while read was skipping some files.
Switching to find -exec fixed it, and is cleaner & shorter to boot.
This commit is contained in:
Marley Rae 2024-02-04 18:56:56 -08:00
parent 58a316b303
commit 2adf2b18d3

View file

@ -161,9 +161,7 @@ set_os_prefs
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
print_title Installers print_title Installers
find . -name install.fish | while read installer find . -name install.fish -exec fish -c {} ';'
fish -c "$installer"
end
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -