Skip to content

Commit

Permalink
[scripts] Trim quotes from existing linker flag value so we don't dup…
Browse files Browse the repository at this point in the history
…licate linker flags on subsequent ttmodule runs.
  • Loading branch information
jverkoey committed Mar 10, 2011
1 parent 15b1812 commit 18b09e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/Pbxproj.py
Expand Up @@ -459,7 +459,7 @@ def add_build_setting(self, configuration, setting_name, value):
project_data = project_data[:settings_start] + build_settings + project_data[settings_end:]
else:
# One
if search_paths != value:
if search_paths.strip('"') != value.strip('"'):
existing_path = search_paths
path_set = '(\n\t\t\t\t\t'+value+',\n\t\t\t\t\t'+existing_path+'\n\t\t\t\t)'
build_settings = build_settings[:match.start(1)] + path_set + build_settings[match.end(1):]
Expand Down

0 comments on commit 18b09e7

Please sign in to comment.