PT-130 Fixed pt-mext not working with not empty Rsa_public_key

This commit is contained in:
Carlos Salguero
2017-04-21 15:29:25 -03:00
parent c80955d5c0
commit 4ff7e58898
4 changed files with 11102 additions and 1 deletions

View File

@@ -573,7 +573,8 @@ NUM=1;
# Split the output on empty lines and put each into a different file; eliminate
# lines that don't have "real" content.
$EXT_ARGV | grep -v '+' | grep -v Variable_name | sed 's/|//g' \
$EXT_ARGV | sed '/| Rsa/, /END PUBLIC KEY-----/d' | grep -v '^ |' | grep -v '+' | grep -v Variable_name | sed 's/|//g' \
| while read line; do
if [ "$line" = "" ]; then
NUM=$(($NUM + 1))