]> gitweb.fluxo.info Git - brweather.git/commitdiff
Source config file before using DIRNAME so we have a chance to customize it develop
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 30 Oct 2014 13:51:49 +0000 (11:51 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 30 Oct 2014 13:51:49 +0000 (11:51 -0200)
src/brweather

index 7c59e51ae855e4341111938aa2066a2ebb1072db..5597d09f0b4f693b14b71b24c0b0bfcaa61e426d 100755 (executable)
@@ -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