Remove one unnecessary string-to-array-to-string from get_curve_name().

This commit is contained in:
Richard Soderberg 2015-09-05 04:10:58 -07:00
parent 9ea1749f6c
commit 5c09af67fd
1 changed files with 1 additions and 2 deletions

View File

@ -324,8 +324,7 @@ get_curve_name() {
for c in "${CURVES_MAP[@]}"; do
if [[ "$c" =~ $identifier ]]; then
verbose "$c matches identifier $identifier"
local map=(${c// / })
echo ${map[0]}
echo "${c%% *}"
return
fi
done