From a71863d7a32951b432c6b5dedb270c8e2776247d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Feb 2013 19:28:19 -0200 Subject: Fixing 'expected binary operator' error --- brweather/brweather | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/brweather/brweather b/brweather/brweather index 080fd4d..6e3ed52 100755 --- a/brweather/brweather +++ b/brweather/brweather @@ -185,7 +185,7 @@ if [ $TIME1 -lt $TIME ] ; then fi if [ $OPEN = "0" ] ; then - if [ -f `grep -m1 -A1 '
' ~/.brweather/cache/previsao | cut -f2 -d'>' | cut -f1 -d'<' | tail -n1` ] ; then + if [ -f "`grep -m1 -A1 '
' ~/.brweather/cache/previsao | cut -f2 -d'>' | cut -f1 -d'<' | tail -n1`" ] ; then echo "$ERROA1" > ~/.brweather/log echo $(($TIME+30)) > ~/.brweather/cache/timer else -- cgit v1.2.3