From d213b3b234917c14d1772ba68c9cbae31f27f56c Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sun, 7 Nov 2021 20:57:19 -0800 Subject: [PATCH] Fix find command --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c24fb77..83b962f 100755 --- a/install.sh +++ b/install.sh @@ -56,12 +56,13 @@ install_dotfile_dir() { while read -r submod ; do echo -n " -o -path ${BASEDIR}/${submod}" done)" + # shellcheck disable=SC2086 find "${SRCDIR}" \( -name .git -o \ -path "${SRCDIR}/private_dotfiles" -o \ -name install.sh -o \ -name README.md -o \ -name .gitignore \ - "${submodule_prune}" \) \ + ${submodule_prune} \) \ -prune -o ${FINDTYPE} f -print | \ while read -r dotfile ; do local TARGET="${HOME}/.${dotfile#${SRCDIR}/}"