From: Silvio Rhatto Date: Thu, 30 Oct 2014 13:51:49 +0000 (-0200) Subject: Source config file before using DIRNAME so we have a chance to customize it X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d83609d38bf022aaa7e5b1c2a09eba708556a9c7;p=brweather.git Source config file before using DIRNAME so we have a chance to customize it --- 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