scripts: fix vpc_parser errror
This commit is contained in:
parent
673a2a15c6
commit
1f470cb34a
2 changed files with 5 additions and 2 deletions
|
@ -90,6 +90,9 @@ def fix_dos_path( path ):
|
||||||
if find_path == '': find_path = './'
|
if find_path == '': find_path = './'
|
||||||
else: find_path += '/'
|
else: find_path += '/'
|
||||||
|
|
||||||
|
if not os.path.exists(find_path):
|
||||||
|
return find_path+filename
|
||||||
|
|
||||||
dirlist = os.listdir(find_path)
|
dirlist = os.listdir(find_path)
|
||||||
for file in dirlist:
|
for file in dirlist:
|
||||||
if file == filename:
|
if file == filename:
|
||||||
|
|
4
wscript
4
wscript
|
@ -61,7 +61,7 @@ projects={
|
||||||
'serverbrowser',
|
'serverbrowser',
|
||||||
'soundemittersystem',
|
'soundemittersystem',
|
||||||
'studiorender',
|
'studiorender',
|
||||||
'thirdparty/StubSteamAPI',
|
'stub_steam',
|
||||||
'tier0',
|
'tier0',
|
||||||
'tier1',
|
'tier1',
|
||||||
'tier2',
|
'tier2',
|
||||||
|
@ -129,7 +129,7 @@ projects={
|
||||||
'vpklib',
|
'vpklib',
|
||||||
'vstdlib',
|
'vstdlib',
|
||||||
'vtf',
|
'vtf',
|
||||||
'thirdparty/StubSteamAPI'
|
'stub_steam'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue