fix every single shellcheck error
This commit is contained in:
@ -13,21 +13,19 @@
|
||||
# Uncomment/Edit this line to include the build number in the config file
|
||||
# I2P_BUILD_NUMBER=1
|
||||
|
||||
if [ -z $I2P_SIGNER ]; then
|
||||
if [ -z "$I2P_SIGNER" ]; then
|
||||
# This is the team ID of the Apple account associated with the app. It is used to sign the DMG.
|
||||
# it is a unique ID which is a short, random-looking string.
|
||||
# OR
|
||||
# the sha256 fingerprint of the cert(recommended)
|
||||
echo "I2P_SIGNER not set, signing will not work"
|
||||
I2P_SIGNER=$(security find-identity -v -p codesigning | cut -d ' ' -f 3)
|
||||
fi
|
||||
if [ -z $I2P_CODE_SIGNER ]; then
|
||||
if [ -z "$I2P_CODE_SIGNER" ]; then
|
||||
# This is the code signing ID of the team associated with the Apple Account. it is used to sign the libraries.
|
||||
# it is a unique ID which is a short, random-looking string.
|
||||
# OR
|
||||
# the sha256 fingerprint of the cert(recommended)
|
||||
echo "I2P_CODE_SIGNER not set, signing will not work"
|
||||
I2P_CODE_SIGNER_USERPHRASE=$(security find-identity -v -p codesigning | cut -d ' ' -f 3)
|
||||
fi
|
||||
if [ -z "$I2P_SIGNER_USERPHRASE" ]; then
|
||||
# This is an the phrase identifying the third party developer(I2P) in the following form:
|
||||
@ -35,6 +33,5 @@ if [ -z "$I2P_SIGNER_USERPHRASE" ]; then
|
||||
# OR
|
||||
# the sha256 fingerprint of the cert(recommended)
|
||||
echo "I2P_SIGNER_USERPHRASE not set, signing will not work"
|
||||
I2P_SIGNER_USERPHRASE=$(security find-identity -v -p codesigning | cut -d ' ' -f 3)
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user