build: Strip | character in addon.d generation

* Previously, files that were pinned and weren't
  presigned wouldn't have the sha1sum stripped
  from the name of the blob
* n.b. This only affected libjni_latinimegoogle.so

Signed-off-by: Paul Keith <javelinanddart@bestas.gr>
This commit is contained in:
Paul Keith 2017-04-07 15:46:15 -05:00
parent d7b8223912
commit fd168ac31e
No known key found for this signature in database
GPG Key ID: AB0BF746E05523CF

View File

@ -64,6 +64,7 @@ function create() {
do
if [ "$l" != "" ]; then
line=$(echo "$l" | sed 's/^-//g')
line=${line%%|*}
line=${line%%:*}
echo "$line" >> $ADDOND.tmp
fi