fix swing output folder
@@ -30,8 +30,9 @@ sub_swig(){
cd $ROOT_DIR
sub_python
sub_ruby
- sudo apt-get install libpcre3-dev
+ sudo apt-get -y install libpcre3-dev
wget "https://downloads.sourceforge.net/project/swig/swig/swig-3.0.12/swig-3.0.12.tar.gz?r=http%3A%2F%2Fwww.swig.org%2Fdownload.html&ts=1487810080&use_mirror=netix" -O swig.tar.gz
+ mkdir swig
tar -xf swig.tar.gz -C ./swig --strip-components=1
cd swig
./configure
