mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
dump1090: Update to version 3.7.1
Repository was moved.
Also cleaned up Makefile slightly.
Ran init script through shellcheck.
Added PKG_BUILD_PARALLEL for faster compilation.
Added several CFLAGS and LDFLAGS for smaller size.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from f3245e6c7d)
This commit is contained in:
@@ -13,7 +13,9 @@ append_arg() {
|
||||
local val
|
||||
|
||||
config_get val "$cfg" "$var"
|
||||
[ -n "$val" -o -n "$def" ] && procd_append_param command $opt "${val:-$def}"
|
||||
if [ -n "$val" ] || [ -n "$def" ]; then
|
||||
procd_append_param command "$opt" "${val:-$def}"
|
||||
fi
|
||||
}
|
||||
|
||||
append_bool() {
|
||||
@@ -82,7 +84,7 @@ start_instance() {
|
||||
append_arg "$cfg" html_dir "--html-dir"
|
||||
append_arg "$cfg" write_json "--write-json"
|
||||
config_get aux "$cfg" "write_json"
|
||||
[ -n "$aux" ] && mkdir -p $aux
|
||||
[ -n "$aux" ] && mkdir -p "$aux"
|
||||
append_arg "$cfg" write_json_every "--write-json-every"
|
||||
append_arg "$cfg" json_location_accuracy "--json-location-accuracy"
|
||||
append_bool "$cfg" oversample "--oversample"
|
||||
|
||||
Reference in New Issue
Block a user