build: emit signing message only when signing
This commit is contained in:
parent
df0ee582fb
commit
7836972bd0
|
@ -74,9 +74,5 @@ rm -f /tmp/setdiff.*
|
|||
|
||||
echo "done"
|
||||
|
||||
echo -n "Signing sets (if applicable)... "
|
||||
|
||||
generate_signature ${BASESET}.txz
|
||||
generate_signature ${BASESET}.obsolete
|
||||
|
||||
echo "done"
|
||||
|
|
|
@ -295,9 +295,12 @@ setup_distfiles()
|
|||
|
||||
generate_signature()
|
||||
{
|
||||
SIGNCMD="${TOOLSDIR}/scripts/pkg_sign.sh"
|
||||
|
||||
if [ -n "$(${TOOLSDIR}/scripts/pkg_fingerprint.sh)" ]; then
|
||||
SIGNCMD="${TOOLSDIR}/scripts/pkg_sign.sh"
|
||||
echo -n "Signing $(basename ${1})... "
|
||||
sha256 -q ${1} | ${SIGNCMD} > ${1}.sig
|
||||
echo "done"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue