Fixing possible issue with remove() on StringVec

There is not remove() on StringVec so we need to make sure we are always
handling a list.

Fixes #347.
This commit is contained in:
Strahinja Val Markovic 2013-05-29 19:05:02 -07:00
parent 5ed63a4afe
commit 612ab6e43a

View File

@ -101,7 +101,7 @@ def DirectoryOfThisScript():
def MakeRelativePathsInFlagsAbsolute( flags, working_directory ): def MakeRelativePathsInFlagsAbsolute( flags, working_directory ):
if not working_directory: if not working_directory:
return flags return list( flags )
new_flags = [] new_flags = []
make_next_absolute = False make_next_absolute = False
path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ] path_flags = [ '-isystem', '-I', '-iquote', '--sysroot=' ]