From 967245355a9ae46e1eba36532a6c9d0a57e1643d Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Tue, 2 Jul 2024 14:42:41 -0400 Subject: [PATCH] older versions of find require quotes on path for hiding hidden folders. --- fetch-all.sh | 2 +- list-all.sh | 2 +- pull-all.sh | 2 +- status-all.sh | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fetch-all.sh b/fetch-all.sh index bb38821..fdf0015 100755 --- a/fetch-all.sh +++ b/fetch-all.sh @@ -11,7 +11,7 @@ # check for "-l" and "-h" in command prompt followLinks="-H" -checkHidden="-not -path */.*/.git" +checkHidden="-not -path '*/.*/.git'" while getopts "lh" option; do case $option in l) diff --git a/list-all.sh b/list-all.sh index c8f20d4..cd24aeb 100755 --- a/list-all.sh +++ b/list-all.sh @@ -11,7 +11,7 @@ # check for "-l" and "-h" in command prompt followLinks="-H" -checkHidden="-not -path */.*/.git" +checkHidden="-not -path '*/.*/.git'" while getopts "lh" option; do case $option in l) diff --git a/pull-all.sh b/pull-all.sh index 3c82bc0..3122982 100755 --- a/pull-all.sh +++ b/pull-all.sh @@ -11,7 +11,7 @@ # check for "-l" and "-h" in command prompt followLinks="-H" -checkHidden="-not -path */.*/.git" +checkHidden="-not -path '*/.*/.git'" while getopts "lh" option; do case $option in l) diff --git a/status-all.sh b/status-all.sh index d33e258..437fb4d 100755 --- a/status-all.sh +++ b/status-all.sh @@ -11,7 +11,7 @@ # check for "-l" and "-h" in command prompt followLinks="-H" -checkHidden="-not -path */.*/.git" +checkHidden="-not -path '*/.*/.git'" while getopts "lh" option; do case $option in l)