Skip to content

Commit 9f52b4a

Browse files
committed
TEMP
This shoudl probably be in one of the previosu commits
1 parent 708df97 commit 9f52b4a

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
@@ -380,7 +380,7 @@ void createOutLinks(const std::filesystem::path & outLink, const BuiltPaths & bu
380380
auto symlink = outLink;
381381
if (i)
382382
symlink += fmt("-%d", i);
383-
store.addPermRoot(bo.path, absPath(symlink.string()));
383+
store.addPermRoot(bo.path, absPath(symlink).string());
384384
},
385385
[&](const BuiltPath::Built & bfd) {
386386
for (auto & output : bfd.outputs) {
@@ -389,7 +389,7 @@ void createOutLinks(const std::filesystem::path & outLink, const BuiltPaths & bu
389389
symlink += fmt("-%d", i);
390390
if (output.first != "out")
391391
symlink += fmt("-%s", output.first);
392-
store.addPermRoot(output.second, absPath(symlink.string()));
392+
store.addPermRoot(output.second, absPath(symlink).string());
393393
}
394394
},
395395
},

0 commit comments

Comments
 (0)