diff --git a/scripts/build/.variables b/scripts/build/.variables
index d37c945893c6..53971216cc0d 100755
--- a/scripts/build/.variables
+++ b/scripts/build/.variables
@@ -13,13 +13,23 @@ PLATFORM=${PLATFORM:-}
VERSION=${VERSION:-$(git describe --match 'v[0-9]*' --dirty='.m' --always --tags | sed 's/^v//' 2>/dev/null || echo "unknown-version" )}
GITCOMMIT=${GITCOMMIT:-$(git rev-parse --short HEAD 2> /dev/null || true)}
-if [ "$(uname)" = "Darwin" ]; then
- # Using BSD date (macOS), which doesn't suppoort the --date option
- # date -jf "" "" +"