aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-10-30 11:51:49 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-10-30 11:51:49 -0200
commitd83609d38bf022aaa7e5b1c2a09eba708556a9c7 (patch)
tree880948303b3ae9648e91a05a80330e08df0ac6a2
parent1f3396b476b3a8716c638489a120691e103f287d (diff)
downloadbrweather-develop.tar.gz
brweather-develop.tar.bz2
Source config file before using DIRNAME so we have a chance to customize itdevelop
-rwxr-xr-xsrc/brweather6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/brweather b/src/brweather
index 7c59e51..5597d09 100755
--- a/src/brweather
+++ b/src/brweather
@@ -100,14 +100,14 @@ Se o erro persistir por vários dias, entre em contato com o desenvolvedor pelo
leandronkz@gmail.com"
+##Ler arquivo de configuração
+source ~/.brweather.conf
+
##Versão do programa
VERSION=`cat $DIRNAME/doc/version`
-##Ler arquivo de configuração
-source ~/.brweather.conf
-
##Opções do programa que não precisam de Internet
case $1 in
"--gerar-log") source $DIRNAME/bin/logs