[2.0.x] Add Sublime support for Auto build, minor Auto-build update (#10809)

This commit is contained in:
Bob Kuhn authored and Scott Lahteine committed 2018-05-22 02:04:51 -05:00
1 parent 4b610b333e
commit 22e0691a70
3 files changed
+113

No files matched your search

+7
View File
@@ -69,6 +69,13 @@
import sys
import os
pwd = os.getcwd() # make sure we're executing from the correct directory level
pwd = pwd.replace('\\', '/')
if 0 <= pwd.find('buildroot/share/atom'):
pwd = pwd[ : pwd.find('buildroot/share/atom')]
os.chdir(pwd)
print 'pwd: ', pwd
num_args = len(sys.argv)
if num_args > 1:
build_type = str(sys.argv[1])