common.sh: output all errors to stderr
authorGuido Trotter <ultrotter@google.com>
Wed, 22 Oct 2008 14:09:16 +0000 (14:09 +0000)
committerGuido Trotter <ultrotter@google.com>
Wed, 22 Oct 2008 14:09:16 +0000 (14:09 +0000)
commit928355163565698b340214fb4624972b7e970fa5
treecd5b8a243f89a5c4d3f0dda18c929a660856c076
parent273928d30492384fe5a29b0fcc8cd22f43bc1c9f
common.sh: output all errors to stderr

Create a log_error function that outputs to stderr and use it to send
error messages. This also clarifies error messages a bit and fixes one
wrong check for new_name rather than old_name.

Reviewed-by: iustinp
common.sh
rename