From 2adf2b18d38f8db009f392384c30d4310eb28b6d Mon Sep 17 00:00:00 2001 From: Marley Rae Date: Sun, 4 Feb 2024 18:56:56 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20issue=20where=20not=20all?= =?UTF-8?q?=20installers=20were=20run?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Not entirely sure why, but find | while read was skipping some files. Switching to find -exec fixed it, and is cleaner & shorter to boot. --- script/dot.fish | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/script/dot.fish b/script/dot.fish index 05d7ffd..72d7fa9 100755 --- a/script/dot.fish +++ b/script/dot.fish @@ -161,9 +161,7 @@ set_os_prefs # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - print_title Installers -find . -name install.fish | while read installer - fish -c "$installer" -end +find . -name install.fish -exec fish -c {} ';' # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -