Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove space-in-path replacement #896

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions swift/internal/derived_files.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ def _intermediate_frontend_file_path(target_name, src):
"""
objs_dir = "{}_objs".format(target_name)

owner_rel_path = owner_relative_path(src).replace(" ", "__SPACE__")
safe_name = paths.basename(owner_rel_path)
owner_rel_path = owner_relative_path(src)
basename = paths.basename(owner_rel_path)

return paths.join(objs_dir, paths.dirname(owner_rel_path)), safe_name
return paths.join(objs_dir, paths.dirname(owner_rel_path)), basename

def _intermediate_object_file(actions, target_name, src):
"""Declares a file for an intermediate object file during compilation.
Expand Down