aboutsummaryrefslogtreecommitdiff
path: root/brweather/bin/inpe-5
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-02-14 19:00:31 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-02-14 19:00:31 -0200
commit74af44a435dced64cfb657e9c3d99a34dd8c2a33 (patch)
tree757c7b17d2e20cf70de39303bd109a6ec46ab268 /brweather/bin/inpe-5
parentf3010cde99a40ea9bd079d17ee775ae5be528b7f (diff)
downloadbrweather-74af44a435dced64cfb657e9c3d99a34dd8c2a33.tar.gz
brweather-74af44a435dced64cfb657e9c3d99a34dd8c2a33.tar.bz2
DIRNAME needs to be set just once
Diffstat (limited to 'brweather/bin/inpe-5')
-rw-r--r--brweather/bin/inpe-53
1 files changed, 0 insertions, 3 deletions
diff --git a/brweather/bin/inpe-5 b/brweather/bin/inpe-5
index 9e25767..4216e69 100644
--- a/brweather/bin/inpe-5
+++ b/brweather/bin/inpe-5
@@ -6,9 +6,6 @@
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
NC2=`grep -m2 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`
NC3=`grep -m3 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`
NC4=`grep -m4 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1`