aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-05 11:15:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-05 11:15:42 -0300
commit2bb08fc423620145e1c12991ecfaab9e217ebe82 (patch)
treea14615231adab4a48b4b933de9ed86d7c5a2d1c8
parentb8a276f771e3234e68769c4d075bfe10018e11f7 (diff)
downloadbrweather-2bb08fc423620145e1c12991ecfaab9e217ebe82.tar.gz
brweather-2bb08fc423620145e1c12991ecfaab9e217ebe82.tar.bz2
Sourcing config before version doc is read
-rwxr-xr-xbrweather/brweather6
1 files changed, 2 insertions, 4 deletions
diff --git a/brweather/brweather b/brweather/brweather
index 0d4cce9..909b6de 100755
--- a/brweather/brweather
+++ b/brweather/brweather
@@ -100,14 +100,12 @@ 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