aboutsummaryrefslogtreecommitdiff
path: root/brweather/bin/inpe-4
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-4
parentf3010cde99a40ea9bd079d17ee775ae5be528b7f (diff)
downloadbrweather-74af44a435dced64cfb657e9c3d99a34dd8c2a33.tar.gz
brweather-74af44a435dced64cfb657e9c3d99a34dd8c2a33.tar.bz2
DIRNAME needs to be set just once
Diffstat (limited to 'brweather/bin/inpe-4')
-rw-r--r--brweather/bin/inpe-43
1 files changed, 0 insertions, 3 deletions
diff --git a/brweather/bin/inpe-4 b/brweather/bin/inpe-4
index 10ecd76..54eaab8 100644
--- a/brweather/bin/inpe-4
+++ b/brweather/bin/inpe-4
@@ -6,9 +6,6 @@
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
NCN=`grep "javascript:janela('http://tempo.cptec.inpe.br/~rtempo/legenda.shtml'" ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.'`
NC1=`grep -m1 'title="Clique sobre o ícone para ver a legenda"></a></div>' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.'`