Skip to content

Commit c98d0ae

Browse files
committed
TEMP
This shoudl probably be in one of the previosu commits
1 parent 3e9a6fd commit c98d0ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libcmd/command.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ void createOutLinks(const std::filesystem::path & outLink, const BuiltPaths & bu
378378
auto symlink = outLink;
379379
if (i)
380380
symlink += fmt("-%d", i);
381-
store.addPermRoot(bo.path, absPath(symlink.string()));
381+
store.addPermRoot(bo.path, absPath(symlink).string());
382382
},
383383
[&](const BuiltPath::Built & bfd) {
384384
for (auto & output : bfd.outputs) {
@@ -387,7 +387,7 @@ void createOutLinks(const std::filesystem::path & outLink, const BuiltPaths & bu
387387
symlink += fmt("-%d", i);
388388
if (output.first != "out")
389389
symlink += fmt("-%s", output.first);
390-
store.addPermRoot(output.second, absPath(symlink.string()));
390+
store.addPermRoot(output.second, absPath(symlink).string());
391391
}
392392
},
393393
},

0 commit comments

Comments
 (0)