mirror of
https://github.com/NixOS/nix.git
synced 2025-11-25 11:49:35 +01:00
Leading whitespace after `nix-shell` used to produce an empty argument, while an empty argument at the end of the line was ignored. Fix the first issue by consuming the initial whitespace before calling shellwords; fix the second issue by returning immediately if whitespace is found at the end of the string instead of checking for an empty string. Also throw if quotes aren't terminated. |
||
|---|---|---|
| .. | ||
| nix-build.cc | ||