Commit f3560e0599c3c9c07d7f04251a4eb57d68a30c45
1 parent
901da66f
Exists in
master
Corrigi build quando diretorio estiver limpo.
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
build.sh
@@ -38,6 +38,10 @@ then | @@ -38,6 +38,10 @@ then | ||
38 | then | 38 | then |
39 | echo 'Compilando barra nova' | 39 | echo 'Compilando barra nova' |
40 | cd ../recipes/default | 40 | cd ../recipes/default |
41 | + if test ! -d "../../templates/$profile" | ||
42 | + then | ||
43 | + ln -s ../../recipes/$profile/build ../../app/templates/$ | ||
44 | + fi | ||
41 | sh ./compile.sh | 45 | sh ./compile.sh |
42 | cd ../../app | 46 | cd ../../app |
43 | cp templates/default/barra-brasil.js static/barra-brasil_2.0.js #Copiando enquanto a barra é estática. | 47 | cp templates/default/barra-brasil.js static/barra-brasil_2.0.js #Copiando enquanto a barra é estática. |
requirements.txt