mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-27 18:40:51 +00:00
scripts/create_addon: use correct name in usage etc.
This commit is contained in:
parent
cf573b1272
commit
90958e9472
@ -9,7 +9,7 @@
|
||||
usage() {
|
||||
cat - >&2 <<EOF
|
||||
SYNOPSIS
|
||||
./script/create_addon_mt [OPTION] [addons]...
|
||||
./script/create_addon [OPTION] [addons]...
|
||||
|
||||
DESCRIPTION
|
||||
create_addon builds one or more addons.
|
||||
@ -33,13 +33,13 @@ DESCRIPTION
|
||||
|
||||
EXAMPLE
|
||||
build all addons
|
||||
> ./script/create_addon_mt all
|
||||
> ./script/create_addon all
|
||||
|
||||
build audio encoders and decoders, only
|
||||
> ./script/create_addon_mt audioencoder.* audiodecoder.*
|
||||
> ./script/create_addon audioencoder.* audiodecoder.*
|
||||
|
||||
build all, but not binary
|
||||
> ./script/create_addon_mt all -binary
|
||||
> ./script/create_addon all -binary
|
||||
EOF
|
||||
exit ${1:-0}
|
||||
}
|
||||
@ -88,7 +88,7 @@ get_addons() {
|
||||
|
||||
if [ ${count} -eq 0 -a -n "${filter}" ]; then
|
||||
echo "$(print_color CLR_ERROR "ERROR: no addons matched for filter ${filter}")" >&2
|
||||
echo "For more information type: ./scripts/create_addon_mt --help" >&2
|
||||
echo "For more information type: ./scripts/create_addon --help" >&2
|
||||
die
|
||||
fi
|
||||
}
|
||||
|
@ -10,10 +10,10 @@
|
||||
usage() {
|
||||
cat - >&2 <<EOUSAGE
|
||||
SYNOPSIS
|
||||
./script/create_addon [OPTION] [addons]...
|
||||
./script/create_addon_st [OPTION] [addons]...
|
||||
|
||||
DESCRIPTION
|
||||
create_addon builds one or more addons.
|
||||
create_addon_st builds one or more addons.
|
||||
|
||||
--show-only
|
||||
output the list of packages, which are intented to build
|
||||
@ -44,13 +44,13 @@ DESCRIPTION
|
||||
|
||||
EXAMPLE
|
||||
build all addons
|
||||
> ./script/create_addon all
|
||||
> ./script/create_addon_st all
|
||||
|
||||
build audio encoders and decoders, only
|
||||
> ./script/create_addon audioencoder.* audiodecoder.*
|
||||
> ./script/create_addon_st audioencoder.* audiodecoder.*
|
||||
|
||||
build all, but not binary
|
||||
> ./script/create_addon all -binary
|
||||
> ./script/create_addon_st all -binary
|
||||
|
||||
EOUSAGE
|
||||
exit ${1:0}
|
||||
@ -94,7 +94,7 @@ function find_addons() {
|
||||
# abort when nothing found and not embedded
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "$(print_color CLR_ERROR "ERROR: '$1' matches nothing...")" >&$SILENT_OUT
|
||||
echo "for more informations type: ./scripts/create_addon --help" >&$SILENT_OUT
|
||||
echo "for more informations type: ./scripts/create_addon_st --help" >&$SILENT_OUT
|
||||
die
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user