Skip to content

Commit

Permalink
send telemetry stats
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbugli committed Nov 13, 2024
1 parent 8382a74 commit e0fb015
Show file tree
Hide file tree
Showing 5 changed files with 466 additions and 388 deletions.
12 changes: 5 additions & 7 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,11 @@ PB=$REPO/protobuf

export PATH=/opt/.protoc/bin:$PWD/.protoc/bin:$PATH

# In some systems like Mac OS 13.0.1, the realpath defaults to
# the system installed one which does not support flags like
# --relative-path. This results in the scripts erroring out.
# The coreutils installed with Homebrew (as mentioned in README)
# installs GNU realpath which could be available as "grealpath"
# which actually works. Hence, the option to customize REALPATH
REALPATH=${REALPATH:-realpath}
REALPATH=${REALPATH:-$(if [[ "$OSTYPE" == "darwin"* ]]; then echo "grealpath"; else echo "realpath"; fi)}
if ! command -v $REALPATH &> /dev/null; then
echo "$REALPATH command not found. Please install it and try again."
exit 1
fi

GEN_PROFILE=${1:-go}

Expand Down
Loading

0 comments on commit e0fb015

Please sign in to comment.