diff options
Diffstat (limited to '.local/bin/gitrect-fix')
-rwxr-xr-x | .local/bin/gitrect-fix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/gitrect-fix b/.local/bin/gitrect-fix index 5adfbee..8bc4490 100755 --- a/.local/bin/gitrect-fix +++ b/.local/bin/gitrect-fix @@ -114,8 +114,8 @@ while read -r line; do done <$DEFAULT_STATE # Update all remotes if we have the fetchgit command -if [$(command -v fetchgit)]; then - if [$(command -v fd) ]; then +if [ $(command -v fetchgit) ]; then + if [ $(command -v fd) ]; then fd -H -t d -E mod -E vendor "\.git$" $WORKDIR -x fetchgit else find $WORKDIR -name ".git" -exec fetchgit {} \; |