Fixed provisioning profile check => We should check for the file, not the dir
This commit is contained in:
@@ -47,7 +47,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
# Ensure that the requested provisioning profile can be found
|
# Ensure that the requested provisioning profile can be found
|
||||||
|
|
||||||
if [ ! -f "$HOME/Library/MobileDevice/Provisioning Profiles" ]
|
if [ ! -f "$HOME/Library/MobileDevice/Provisioning Profiles/$provisioningId.mobileprovision" ]
|
||||||
then
|
then
|
||||||
mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles"
|
mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles"
|
||||||
cp ${iosKeyFile} "$HOME/Library/MobileDevice/Provisioning Profiles/$provisioningId.mobileprovision"
|
cp ${iosKeyFile} "$HOME/Library/MobileDevice/Provisioning Profiles/$provisioningId.mobileprovision"
|
||||||
@@ -75,7 +75,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
# Ensure that the requested provisioning profile can be found
|
# Ensure that the requested provisioning profile can be found
|
||||||
|
|
||||||
if [ ! -f "$HOME/Library/MobileDevice/Provisioning Profiles" ]
|
if [ ! -f "$HOME/Library/MobileDevice/Provisioning Profiles/$provisioningId.mobileprovision" ]
|
||||||
then
|
then
|
||||||
mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles"
|
mkdir -p "$HOME/Library/MobileDevice/Provisioning Profiles"
|
||||||
cp ${iosKeyFile} "$HOME/Library/MobileDevice/Provisioning Profiles/$provisioningId.mobileprovision"
|
cp ${iosKeyFile} "$HOME/Library/MobileDevice/Provisioning Profiles/$provisioningId.mobileprovision"
|
||||||
|
|||||||
Reference in New Issue
Block a user