Minor: add comment
This commit is contained in:
parent
afbcccf785
commit
a3aef7594e
@ -869,6 +869,7 @@ bool Worker::execOpkgCommands() {
|
||||
QStringList opkgErrorLst;
|
||||
while (!in.atEnd()) {
|
||||
QString line = in.readLine();
|
||||
// TODO: "^\\s*[#]{0,}$" : empty line or comment line starting with #
|
||||
static const QRegularExpression comment("^\\s*#.*$");
|
||||
if (line.indexOf(comment, 0) == -1) {
|
||||
// found opkg command
|
||||
|
Loading…
Reference in New Issue
Block a user