missing "" around identity in check for code signng key on Mac
Change-Id: I421b72dd58d1216c1f68731332bc6a41d3c0071e
This commit is contained in:
parent
292af048ac
commit
fd179c5f30
1 changed files with 2 additions and 2 deletions
|
@ -2586,12 +2586,12 @@ if test "$_os" = "Darwin"; then
|
|||
identity=`security find-identity -p codesigning -v 2>/dev/null | grep 'Developer ID Application:' | awk '{print $2}' |head -1`
|
||||
if test -n "$identity"; then
|
||||
MACOSX_CODESIGNING_IDENTITY=$identity
|
||||
pretty_name=`security find-identity -p codesigning -v | grep $MACOSX_CODESIGNING_IDENTITY | sed -e 's/^[[^"]]*"//' -e 's/"//'`
|
||||
pretty_name=`security find-identity -p codesigning -v | grep "$MACOSX_CODESIGNING_IDENTITY" | sed -e 's/^[[^"]]*"//' -e 's/"//'`
|
||||
AC_MSG_RESULT([yes, using the identity $MACOSX_CODESIGNING_IDENTITY for $pretty_name])
|
||||
fi
|
||||
elif test -n "$enable_macosx_code_signing"; then
|
||||
MACOSX_CODESIGNING_IDENTITY=$enable_macosx_code_signing
|
||||
pretty_name=`security find-identity -p codesigning -v | grep $MACOSX_CODESIGNING_IDENTITY | sed -e 's/^[[^"]]*"//' -e 's/"//'`
|
||||
pretty_name=`security find-identity -p codesigning -v | grep "$MACOSX_CODESIGNING_IDENTITY" | sed -e 's/^[[^"]]*"//' -e 's/"//'`
|
||||
AC_MSG_RESULT([yes, using the identity $MACOSX_CODESIGNING_IDENTITY for $pretty_name])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
|
|
Loading…
Reference in a new issue