Make the c and ac scripts work with sh and without bin in PATH
authorkkinnunen <kkinnunen@nvidia.com>
Fri, 15 May 2015 12:35:50 +0000 (05:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 15 May 2015 12:35:50 +0000 (05:35 -0700)
commitc77f6af7c3ca08c94b882ccb2fbd61e6bae7ea42
tree47f95974754d666fa0535eef12ed66dd057cef83
parent27e517ae533775889c98c65fa2f07b98357ecbc2
Make the c and ac scripts work with sh and without bin in PATH

Make the bin/c and bin/ac scripts work with sh. The scripts are run with
/bin/sh shebang, which fails atleast on ubuntu 12.04 /bin/sh. The sh in
Ubuntu 12.04 is dash.

The fixes are according to the suggestions in http://mywiki.wooledge.org/Bashism

Also run "compare" script with explicit ./bin/ path to support people
who do not have skia/bin in PATH.

Review URL: https://codereview.chromium.org/1139033005
bin/ac
bin/c