Compare commits

..

No commits in common. "44c282013026d0fbc46a047951f4e5ae9c888e7a" and "b60af1a4fc07bc77cb8224443dc10f01b436e43a" have entirely different histories.

2 changed files with 1 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,2 +0,0 @@
tags
*.tags

View File

@ -1030,7 +1030,7 @@ QString Worker::getATBUpdateToolYoctoVersion() {
QString Worker::getAPISMYoctoVersion() {
if (QFile::exists("/var/lib/opkg/status")) {
QString const cmd = QString("echo -n $(cat /var/lib/opkg/status | grep -A1 -e apism[[:space:]]*$ | tail -n 1 | cut -d':' -f2 | cut -d' ' -f2)");
QString const cmd = QString("echo -n $(cat /var/lib/opkg/status | grep -A1 apism | tail -n 1 | cut -d':' -f2 | cut -d' ' -f2)");
Command c("bash");
if (c.execute("/tmp", QStringList() << "-c" << cmd)) {
return c.getCommandResult(); // 1.4.1.0-r4