aboutsummaryrefslogtreecommitdiff
path: root/brweather/bin/open-3
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/open-3
parentf3010cde99a40ea9bd079d17ee775ae5be528b7f (diff)
downloadbrweather-74af44a435dced64cfb657e9c3d99a34dd8c2a33.tar.gz
brweather-74af44a435dced64cfb657e9c3d99a34dd8c2a33.tar.bz2
DIRNAME needs to be set just once
Diffstat (limited to 'brweather/bin/open-3')
-rw-r--r--brweather/bin/open-33
1 files changed, 0 insertions, 3 deletions
diff --git a/brweather/bin/open-3 b/brweather/bin/open-3
index f542a70..2aa698e 100644
--- a/brweather/bin/open-3
+++ b/brweather/bin/open-3
@@ -6,9 +6,6 @@
# http://brweatherproject.blogspot.com/
# Distribuído sob licença GPLv3
-# Pasta base
-DIRNAME="$(dirname `dirname $0`)"
-
AWE=$(echo awk -F"[,:]" '{for(i=1;i<=NF;i++){if($i~/id\042/){print$(i+1)}}}')
WID=$(awk -F"[,:]" '{for(i=1;i<=NF;i++){if($i~/weather\042/){print$(i+2)}}}' ~/.brweather/cache/open1)