diff options
author | Tom Bereknyei <tomberek@gmail.com> | 2023-06-11 13:33:38 -0400 |
---|---|---|
committer | Tom Bereknyei <tomberek@gmail.com> | 2023-06-11 13:33:38 -0400 |
commit | 08089fdd3284fcb27bcec347d6bf88ec2a79a8a0 (patch) | |
tree | 5aa4fd1762781d3ed34ddcfeccb6d2a22c9f6d68 /src/libcmd/installables.cc | |
parent | 03f9ff6ea59d21c6d7b29c64a03d5041bd621261 (diff) |
fix: Do not apply default installables when using --stdin
Diffstat (limited to 'src/libcmd/installables.cc')
-rw-r--r-- | src/libcmd/installables.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index a2b882355..684d76a57 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -730,9 +730,9 @@ void RawInstallablesCommand::run(ref<Store> store) while (std::cin >> word) { rawInstallables.emplace_back(std::move(word)); } + } else { + applyDefaultInstallables(rawInstallables); } - - applyDefaultInstallables(rawInstallables); run(store, std::move(rawInstallables)); } |