diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-14 19:00:31 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-14 19:00:31 -0200 |
commit | 74af44a435dced64cfb657e9c3d99a34dd8c2a33 (patch) | |
tree | 757c7b17d2e20cf70de39303bd109a6ec46ab268 /brweather/bin/open-3 | |
parent | f3010cde99a40ea9bd079d17ee775ae5be528b7f (diff) | |
download | brweather-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-3 | 3 |
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) |