mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 19:54:50 +00:00
Run trivial check if the compiled binary works on the architecture. Do so by comparing the printed version by the binary with the Makefile version. The release is OpenWrt specific, so cut it off. Signed-off-by: Paul Spooren <mail@aparcar.org>
4 lines
55 B
Bash
4 lines
55 B
Bash
#!/bin/sh
|
|
|
|
prometheus --version 2>&1 | grep "${2%%-*}"
|