mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
fix #10336
This commit is contained in:
parent
6c10cc0eda
commit
a2c3333b97
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ void RootArgs::parseCmdline(const Strings & _cmdline, bool allowShebang)
|
||||||
|
|
||||||
std::string line;
|
std::string line;
|
||||||
std::getline(stream,line);
|
std::getline(stream,line);
|
||||||
static const std::string commentChars("#/\\%@*-");
|
static const std::string commentChars("#/\\%@*-(");
|
||||||
std::string shebangContent;
|
std::string shebangContent;
|
||||||
while (std::getline(stream,line) && !line.empty() && commentChars.find(line[0]) != std::string::npos){
|
while (std::getline(stream,line) && !line.empty() && commentChars.find(line[0]) != std::string::npos){
|
||||||
line = chomp(line);
|
line = chomp(line);
|
||||||
|
|
Loading…
Reference in a new issue