gluon-core: use awk instead of grep+cut

This commit is contained in:
Matthias Schiffer 2014-02-23 20:23:47 +01:00
parent 13f99f1d8c
commit 1b9b777eb7
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ mkdir -p "$VERSION_DIR"
version_of() {
opkg status "gluon-$1" | grep '^Version: ' | cut -d' ' -f 2
opkg status "gluon-$1" | awk '/^Version: / { print $2 }'
}
oldversion_of() {