From 85a25446cbb73407e64d5c127b4359bef60663ee Mon Sep 17 00:00:00 2001 From: Darcy Wong Date: Fri, 2 May 2025 10:07:05 +0700 Subject: [PATCH] fix(common): Tweak BUILDER_OS check --- resources/shellHelperFunctions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/shellHelperFunctions.sh b/resources/shellHelperFunctions.sh index 5be25560cd..7d49d08c7c 100755 --- a/resources/shellHelperFunctions.sh +++ b/resources/shellHelperFunctions.sh @@ -139,7 +139,7 @@ write_download_info() { builder_echo "BUILDER_OS: ${BUILDER_OS}" # stat flags to get filesize in bytes - if [[ "$BUILDER_OS" == mac ]] && [[ $(which stat) == /usr/bin/stat ]]; then + if [ "$BUILDER_OS" == "mac" ] && [[ $(which stat) == /usr/bin/stat ]]; then STAT_FLAGS="-f%z" else STAT_FLAGS="-c%s"