diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-04-05 11:15:42 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-04-05 11:15:42 -0300 |
commit | 2bb08fc423620145e1c12991ecfaab9e217ebe82 (patch) | |
tree | a14615231adab4a48b4b933de9ed86d7c5a2d1c8 | |
parent | b8a276f771e3234e68769c4d075bfe10018e11f7 (diff) | |
download | brweather-2bb08fc423620145e1c12991ecfaab9e217ebe82.tar.gz brweather-2bb08fc423620145e1c12991ecfaab9e217ebe82.tar.bz2 |
Sourcing config before version doc is read
-rwxr-xr-x | brweather/brweather | 6 |
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 |