diff options
author | Joshua Haberman <joshua@reverberate.org> | 2011-02-27 14:15:03 -0800 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2011-02-27 14:15:03 -0800 |
commit | 6942911f03ef638f0c5558c7610fae820df8658e (patch) | |
tree | c0d7141bfc07136b85166b17d90768f950d87e1e | |
parent | 26264c25a5d22865ab459ef26f86f7d8dfe88f1e (diff) |
Fix bug in perf-tests.sh (some shells didn't care?)
-rwxr-xr-x | perf-tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perf-tests.sh b/perf-tests.sh index ca7e4ff..bfa8bd6 100755 --- a/perf-tests.sh +++ b/perf-tests.sh @@ -5,13 +5,13 @@ set -e MAKETARGET=benchmarks -if [ x$1 == xupb ]; then +if [ x$1 = xupb ]; then MAKETARGET=upb_benchmarks fi rm -f perf-tests.out -if [ x`uname -m` == xx86_64 ]; then +if [ x`uname -m` = xx86_64 ]; then make clean echo "-O3 -DNDEBUG -msse3 -m32" > perf-cppflags make upb_benchmarks |