From d83609d38bf022aaa7e5b1c2a09eba708556a9c7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 30 Oct 2014 11:51:49 -0200 Subject: Source config file before using DIRNAME so we have a chance to customize it --- src/brweather | 6 +++--- 1 file 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 -- cgit v1.2.3