fixes for vagrant scripts due to name changing:

update name to wolfssl.
add question before sync.
This commit is contained in:
Moisés Guimarães
2015-01-29 12:17:08 -03:00
parent 0e4c008247
commit fe26b86207
2 changed files with 23 additions and 12 deletions

View File

@ -1,11 +1,13 @@
#!/bin/bash
SRC=vagrant
DST=wolfssl
# synchronize without .git and .gitignore to avoid output files
rsync --exclude .git --exclude-from .gitignore -rvt /vagrant/ ~/cyassl/
rsync --exclude .git --exclude-from .gitignore -rvt /$SRC/ ~/$DST/
# synchronize everything else needed.
rsync -rvt /vagrant/.git ~/cyassl/
rsync -rvt /vagrant/IDE ~/cyassl/
rsync -rvt /vagrant/mcapi ~/cyassl/
rsync -rvt /vagrant/mplabx ~/cyassl/
rsync -rvt /vagrant/configure.ac ~/cyassl/
rsync -rvt /$SRC/.git ~/$DST/
rsync -rvt /$SRC/IDE ~/$DST/
rsync -rvt /$SRC/mcapi ~/$DST/
rsync -rvt /$SRC/mplabx ~/$DST/
rsync -rvt /$SRC/configure.ac ~/$DST/