From 74af44a435dced64cfb657e9c3d99a34dd8c2a33 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 14 Feb 2013 19:00:31 -0200 Subject: DIRNAME needs to be set just once --- brweather/bin/inpe-4 | 3 --- 1 file changed, 3 deletions(-) (limited to 'brweather/bin/inpe-4') 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">' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.'` -- cgit v1.2.3