openssl: Drop unnecessary tr invocation.

This commit is contained in:
Ville Skyttä 2011-08-16 00:24:28 +03:00
parent 52637750d1
commit 4bfb42e627
2 changed files with 6 additions and 2 deletions

View File

@ -94,8 +94,8 @@ _openssl()
return 0
;;
-cipher)
COMPREPLY=( $( compgen -W "$(openssl ciphers | \
tr ':' '\n')" -- "$cur" ) )
COMPREPLY=( $( IFS=: compgen -W "$( openssl ciphers )" \
-- "$cur" ) )
return 0
;;
esac

View File

@ -25,4 +25,8 @@ expect {
sync_after_int
assert_complete_any "openssl pkey -cipher "
sync_after_int
teardown