14 years, 11 months ago
(2010-07-12 21:34:59 UTC)
#2
> -if [ $rsize != $rcheck ] ; then
> +if [ -z $rsize ] || [ $rsize != $rcheck ] ; then
Only fixes it because test ([) is too clever by half. You want
if [ "$rsize" != "$rcheck" ]; then
14 years, 11 months ago
(2010-07-19 08:42:49 UTC)
#3
done
On 2010/07/12 21:34:59, rsc wrote:
> > -if [ $rsize != $rcheck ] ; then
> > +if [ -z $rsize ] || [ $rsize != $rcheck ] ; then
>
> Only fixes it because test ([) is too clever by half. You want
>
> if [ "$rsize" != "$rcheck" ]; then
>
*** Submitted as http://code.google.com/p/go/source/detail?r=f3f517cb8c66 *** minor error checking to android launcher R=dho CC=golang-dev http://codereview.appspot.com/1777041
14 years, 11 months ago
(2010-07-19 08:44:09 UTC)
#4
Issue 1777041: code review 1777041: minor error checking to android launcher
(Closed)
Created 14 years, 11 months ago by kaib
Modified 14 years, 11 months ago
Reviewers:
Base URL:
Comments: 0