Use gpg2 if available 25/6225/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 29 Aug 2017 19:57:07 +0000 (15:57 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 29 Aug 2017 20:22:34 +0000 (16:22 -0400)
commitdeab66bec2052c85181b7940ce5be5a023ba393b
tree0a1bcfa1173a073bee8071e12acc74b1619be973
parentdc937ebdaa1ecda2ea9262dff0aa69f7f87295fd
Use gpg2 if available

Prefer gpg2 over gpg if it is available. In some systems such as Arch
Linux gpg is gpg2. We really only support gpg2 for signing.
Minor fix indentation to 4 spaces like the rest of the script.

Change-Id: I6733521838c78da94b67ab81d9397f5b0622e283
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
shell/sign