aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-14 19:28:19 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-14 19:28:19 -0200
commita71863d7a32951b432c6b5dedb270c8e2776247d (patch)
treed52d2335d517ab148d53a51056f68b6945b04935
parent74af44a435dced64cfb657e9c3d99a34dd8c2a33 (diff)
downloadbrweather-a71863d7a32951b432c6b5dedb270c8e2776247d.tar.gz
brweather-a71863d7a32951b432c6b5dedb270c8e2776247d.tar.bz2
Fixing 'expected binary operator' error
-rwxr-xr-xbrweather/brweather2
1 files changed, 1 insertions, 1 deletions
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 '<div id="subcid">' ~/.brweather/cache/previsao | cut -f2 -d'>' | cut -f1 -d'<' | tail -n1` ] ; then
+ if [ -f "`grep -m1 -A1 '<div id="subcid">' ~/.brweather/cache/previsao | cut -f2 -d'>' | cut -f1 -d'<' | tail -n1`" ] ; then
echo "$ERROA1" > ~/.brweather/log
echo $(($TIME+30)) > ~/.brweather/cache/timer
else