From bca70e0e0183e0c8dfa2c2e7d6c144e05aeee48f Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Fri, 24 Dec 2021 10:29:45 +0000 Subject: [PATCH] Fix install script Signed-off-by: Marcus Noble --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 311c994..fad0f7f 100644 --- a/install.sh +++ b/install.sh @@ -89,7 +89,7 @@ case "${OSTYPE}" in done - FILES=$(find ./os-specific/darwin/home -maxdepth 1 -mindepth 1 | tr '\n' ' ') + FILES=$(/usr/bin/find ./os-specific/darwin/home -maxdepth 1 -mindepth 1 | tr '\n' ' ') for file in $FILES do f=$(fulllink "${file}") @@ -111,12 +111,12 @@ case "${OSTYPE}" in esac echo "🔵 Adding configuration" -FILES=$(find ./home -maxdepth 1 -mindepth 1 | tr '\n' ' ') +FILES=$(/usr/bin/find ./home -maxdepth 1 -mindepth 1 | tr '\n' ' ') for file in $FILES do f=$(fulllink "${file}") dst="${HOME}/$(basename "./home/${file}")" - printf "Linking ${f}=>${dst}" + printf "Linking ${f} => ${dst}" ln -sfn ${f} ${dst} printf " ✅\n" done