parent
c4a40949d9
commit
e321551d54
1 changed files with 3 additions and 0 deletions
|
@ -708,6 +708,9 @@ static void opExport(Strings opFlags, Strings opArgs)
|
|||
for (auto & i : opFlags)
|
||||
throw UsageError(format("unknown flag ‘%1%’") % i);
|
||||
|
||||
for (auto & i : opArgs)
|
||||
i = store->followLinksToStorePath(i);
|
||||
|
||||
FdSink sink(STDOUT_FILENO);
|
||||
store->exportPaths(opArgs, sink);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue