Check for version of ecdsautils
Check if the older multiple-binary verion is used, or if we have a single binary.
This commit is contained in:
parent
7c12de7250
commit
537a838030
@ -35,7 +35,13 @@ awk 'BEGIN { sep=0 }
|
||||
else print > "'"$lower"'"}' \
|
||||
"$manifest"
|
||||
|
||||
ecdsasign "$upper" < "$SECRET" >> "$lower"
|
||||
if [ -e '/usr/local/bin/ecdsautil' ]; then
|
||||
ECMD='/usr/local/bin/ecdsautil sign'
|
||||
elif [ -e '/usr/local/bin/ecdsasign' ]; then
|
||||
ECMD='/usr/local/bin/ecdsasign'
|
||||
fi
|
||||
|
||||
$ECMD "$upper" < "$SECRET" >> "$lower"
|
||||
|
||||
(
|
||||
cat "$upper"
|
||||
|
Loading…
Reference in New Issue
Block a user