Auto merge of #1646 - FooSoft:master, r=Valloric

Fixing install script

Fixing issue #1645 where the `subprocess.call` was being incorrectly used, preventing install. Also made `install.py` be executable so that you can run it directly from shell instead of having to execute `python install.py`
This commit is contained in:
Homu 2015-08-26 13:11:44 +09:00
commit b5bf25564c

3
install.py Normal file → Executable file
View File

@ -18,8 +18,7 @@ def Main():
'to run:\n\tgit submodule update --init --recursive\n\n' ) 'to run:\n\tgit submodule update --init --recursive\n\n' )
python_binary = sys.executable python_binary = sys.executable
args = ' '.join( sys.argv[1:] ) subprocess.call( [ python_binary, build_file ] + sys.argv[1:] )
subprocess.call( ' '.join( [ python_binary, build_file, args ] ) )
# Remove old YCM libs if present so that YCM can start. # Remove old YCM libs if present so that YCM can start.
old_libs = ( old_libs = (