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-6 | 3 --- 1 file changed, 3 deletions(-) (limited to 'brweather/bin/inpe-6') diff --git a/brweather/bin/inpe-6 b/brweather/bin/inpe-6 index 4946349..6f9503e 100644 --- a/brweather/bin/inpe-6 +++ b/brweather/bin/inpe-6 @@ -6,9 +6,6 @@ # http://brweatherproject.blogspot.com/ # Distribuído sob licença GPLv3 -# Pasta base -DIRNAME="$(dirname `dirname $0`)" - NC5=`grep -m5 'title="Clique sobre o ícone para ver a legenda">' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1` NC6=`grep -m6 'title="Clique sobre o ícone para ver a legenda">' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1` NC7=`grep -m7 'title="Clique sobre o ícone para ver a legenda">' ~/.brweather/cache/cache | cut -f12 -d'/' | cut -f1 -d'.' | tail -n1` -- cgit v1.2.3