mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 14:16:50 +00:00
scripts: fix vpc_parser errror
This commit is contained in:
parent
ed901ead1a
commit
8b1be47f4d
@ -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 New Issue
Block a user