Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions bin/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ export DEPTH=0
verbose=${verbose:-false}
profile=${profile:-false}

if [[ "$OSTYPE" == "darwin"* ]]; then
DATE_CMD="gdate"
else
DATE_CMD="date"
fi

time_now_ms () {
"$DATE_CMD" "+%s%3N"
perl -MTime::HiRes=time -e 'printf "%d\n", time*1000'
}

indented () {
Expand Down