Commit af0ce46b32d07eb38e3229076ed514f585ebbcf4
1 parent
7f2181c3
Exists in
master
and in
39 other branches
Minor fix on load_badges fab
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
fabfile.py
... | ... | @@ -91,7 +91,8 @@ def deploy(update=False): |
91 | 91 | |
92 | 92 | def load_badges(): |
93 | 93 | with cd('~/colab/src/'), prefix(WORKON_COLAB): |
94 | - run('cp ~/colab/badges ~/colab/www/static/media/badges') | |
94 | + run('mkdir -p ~/colab/www/static/media/badges') | |
95 | + run('cp ~/colab/badges/* ~/colab/www/static/media/badges/') | |
95 | 96 | run('python manage.py loaddata badger/fixtures/badges.py') |
96 | 97 | |
97 | 98 | ... | ... |