feat(script/lib_perf): use gtime if time doesn't work

This commit is contained in:
Leonardo de Moura 2015-07-02 10:57:42 -07:00
parent 7de7c5b73d
commit b9114260f8

View file

@ -4,6 +4,10 @@
TIME=/usr/bin/time
REALPATH=realpath
if ! $TIME --format "$rf %e" ls 2> /dev/null > /dev/null; then
TIME=gtime
fi
MY_PATH="`dirname \"$0\"`"
LEAN=$MY_PATH/../bin/lean
LIB=$MY_PATH/../library