Skip to content
Snippets Groups Projects
Commit b953d502 authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: use awk instead of grep+cut

parent 5f8e34fc
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ mkdir -p "$VERSION_DIR" ...@@ -16,7 +16,7 @@ mkdir -p "$VERSION_DIR"
version_of() { version_of() {
opkg status "gluon-$1" | grep '^Version: ' | cut -d' ' -f 2 opkg status "gluon-$1" | awk '/^Version: / { print $2 }'
} }
oldversion_of() { oldversion_of() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment