From 029184a90aecb8afff8b3ad56a2ea4f1be68cec6 Mon Sep 17 00:00:00 2001 From: Dennis German Date: Fri, 17 May 2024 12:23:40 -0400 Subject: [PATCH] Update install.sh to use /usr/bin/stat Using customized stat in $PATH can be in conflict with standard. --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 9cceb43b..639672fa 100755 --- a/install.sh +++ b/install.sh @@ -160,7 +160,7 @@ then fi HOMEBREW_CACHE="${HOME}/Library/Caches/Homebrew" - STAT_PRINTF=("stat" "-f") + STAT_PRINTF=("/usr/bin/stat" "-f") PERMISSION_FORMAT="%A" CHOWN=("/usr/sbin/chown") CHGRP=("/usr/bin/chgrp") @@ -175,7 +175,7 @@ else HOMEBREW_REPOSITORY="${HOMEBREW_PREFIX}/Homebrew" HOMEBREW_CACHE="${HOME}/.cache/Homebrew" - STAT_PRINTF=("stat" "--printf") + STAT_PRINTF=("/usr/bin/stat" "--printf") PERMISSION_FORMAT="%a" CHOWN=("/bin/chown") CHGRP=("/bin/chgrp")