openssh: prevent duplicate subpackage

Because template is evaluated twice with options, using append
results in the subpackages string containing the same subpackage
twice.
This commit is contained in:
q66 2020-03-03 04:44:23 +01:00
parent aba55395ae
commit 8dfa43a716

View file

@ -33,7 +33,7 @@ build_options_default="fido2 ldns ssl"
desc_option_fido2="Enable support for FIDO2 USB tokens" desc_option_fido2="Enable support for FIDO2 USB tokens"
if [ "$build_option_fido2" ]; then if [ "$build_option_fido2" ]; then
subpackages+=" openssh-sk-helper" subpackages="openssh-sk-helper"
fi fi
CFLAGS="-Wno-format-truncation -Wno-stringop-truncation" CFLAGS="-Wno-format-truncation -Wno-stringop-truncation"