Skip to content

Commit 6511ca7

Browse files
authored
Merge pull request swiftlang#340 from soloturn/main
source_dir is str and UTF-8 already, python2, python3
2 parents b9568fc + 931f82a commit 6511ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Utilities/build-script-helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def install(swiftpm_bin_path, toolchain):
7171
install_binary(exe, swiftpm_bin_path, toolchain_bin, toolchain)
7272

7373
def install_binary(exe, source_dir, install_dir, toolchain):
74-
cmd = ['rsync', '-a', os.path.join(source_dir.decode('UTF-8'), exe), install_dir]
74+
cmd = ['rsync', '-a', os.path.join(source_dir, exe), install_dir]
7575
print(' '.join(cmd))
7676
subprocess.check_call(cmd)
7777

0 commit comments

Comments
 (0)