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