aboutsummaryrefslogtreecommitdiff
path: root/brweather/bin/open-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/open-4
parentf3010cde99a40ea9bd079d17ee775ae5be528b7f (diff)
downloadbrweather-74af44a435dced64cfb657e9c3d99a34dd8c2a33.tar.gz
brweather-74af44a435dced64cfb657e9c3d99a34dd8c2a33.tar.bz2
DIRNAME needs to be set just once
Diffstat (limited to 'brweather/bin/open-4')
-rw-r--r--brweather/bin/open-43
1 files changed, 0 insertions, 3 deletions
diff --git a/brweather/bin/open-4 b/brweather/bin/open-4
index 363748c..8e89715 100644
--- a/brweather/bin/open-4
+++ b/brweather/bin/open-4
@@ -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)}}}')
D2=$(grep -m1 $(date -d "1 day" "+%a") ~/.brweather/cache/open2 | tail -n1)