From: Silvio Rhatto Date: Fri, 5 Apr 2013 14:15:42 +0000 (-0300) Subject: Sourcing config before version doc is read X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=2bb08fc423620145e1c12991ecfaab9e217ebe82;p=brweather.git Sourcing config before version doc is read --- 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