stage2: building musl: fix typo in replacing path separators

This commit is contained in:
Andrew Kelley 2020-09-26 02:34:57 -07:00
parent 1337f0bc6a
commit a23b1b4254

View File

@ -235,7 +235,7 @@ fn addSrcFile(arena: *Allocator, source_table: *std.StringArrayHashMap(Ext), fil
const mutable_file_path = try arena.dupe(u8, file_path);
for (mutable_file_path) |*c| {
if (c.* == '/') {
c.* == path.sep;
c.* = path.sep;
}
}
break :blk mutable_file_path;