mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
fix #10336
This commit is contained in:
parent
6c10cc0eda
commit
a2c3333b97
@ -285,7 +285,7 @@ void RootArgs::parseCmdline(const Strings & _cmdline, bool allowShebang)
|
||||
|
||||
std::string line;
|
||||
std::getline(stream,line);
|
||||
static const std::string commentChars("#/\\%@*-");
|
||||
static const std::string commentChars("#/\\%@*-(");
|
||||
std::string shebangContent;
|
||||
while (std::getline(stream,line) && !line.empty() && commentChars.find(line[0]) != std::string::npos){
|
||||
line = chomp(line);
|
||||
|
Loading…
Reference in New Issue
Block a user