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:
commit
b5bf25564c
3
install.py
Normal file → Executable file
3
install.py
Normal file → Executable file
@ -18,8 +18,7 @@ def Main():
|
||||
'to run:\n\tgit submodule update --init --recursive\n\n' )
|
||||
|
||||
python_binary = sys.executable
|
||||
args = ' '.join( sys.argv[1:] )
|
||||
subprocess.call( ' '.join( [ python_binary, build_file, args ] ) )
|
||||
subprocess.call( [ python_binary, build_file ] + sys.argv[1:] )
|
||||
|
||||
# Remove old YCM libs if present so that YCM can start.
|
||||
old_libs = (
|
||||
|
Loading…
Reference in New Issue
Block a user