You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
378 B
Bash
16 lines
378 B
Bash
5 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
if [ -z "$MAC_CERTIFICATE" ]; then
|
||
|
export CSC_LINK="$MAC_CERTIFICATE"
|
||
|
echo "MAC_CERTIFICATE found."
|
||
|
else
|
||
|
echo "MAC_CERTIFICATE not set. Ignoring."
|
||
|
fi
|
||
|
|
||
|
if [ -z "$MAC_CERTIFICATE_PASSWORD" ]; then
|
||
|
export CSC_KEY_PASSWORD="$MAC_CERTIFICATE_PASSWORD"
|
||
|
echo "MAC_CERTIFICATE_PASSWORD found."
|
||
|
else
|
||
|
echo "MAC_CERTIFICATE_PASSWORD not set. Ignoring."
|
||
|
fi
|