summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSander van der Burg <svanderburg@gmail.com>2014-07-18 16:40:15 +0200
committerSander van der Burg <svanderburg@gmail.com>2014-07-18 16:40:15 +0200
commitd3d3120052f65cafbb5f9630f73d67ce85fbff6a (patch)
tree26132de1ab1ec5fff62244706d971f8ecb138e8c
parenta49e2f866da420e7f82985ab75010c6bc0169117 (diff)
Support UUIDs in lowercase
-rw-r--r--pkgs/development/mobile/titaniumenv/build-app.nix2
-rw-r--r--pkgs/development/mobile/xcodeenv/build-app.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/mobile/titaniumenv/build-app.nix b/pkgs/development/mobile/titaniumenv/build-app.nix
index 6f6d5f3d9f6b..2443bfe9aed8 100644
--- a/pkgs/development/mobile/titaniumenv/build-app.nix
+++ b/pkgs/development/mobile/titaniumenv/build-app.nix
@@ -67,7 +67,7 @@ stdenv.mkDerivation {
security unlock-keychain -p "" $keychainName
security import ${iosCertificate} -k $keychainName -P "${iosCertificatePassword}" -A
- provisioningId=$(grep UUID -A1 -a ${iosMobileProvisioningProfile} | grep -o "[-A-Z0-9]\{36\}")
+ provisioningId=$(grep UUID -A1 -a ${iosMobileProvisioningProfile} | grep -o "[-A-Za-z0-9]\{36\}")
# Ensure that the requested provisioning profile can be found
diff --git a/pkgs/development/mobile/xcodeenv/build-app.nix b/pkgs/development/mobile/xcodeenv/build-app.nix
index ade629759f09..b5766c805522 100644
--- a/pkgs/development/mobile/xcodeenv/build-app.nix
+++ b/pkgs/development/mobile/xcodeenv/build-app.nix
@@ -60,7 +60,7 @@ stdenv.mkDerivation {
security import ${certificateFile} -k $keychainName -P "${certificatePassword}" -A
# Determine provisioning ID
- PROVISIONING_PROFILE=$(grep UUID -A1 -a ${provisioningProfile} | grep -o "[-A-Z0-9]\{36\}")
+ PROVISIONING_PROFILE=$(grep UUID -A1 -a ${provisioningProfile} | grep -o "[-A-Za-z0-9]\{36\}")
if [ ! -f "$HOME/Library/MobileDevice/Provisioning Profiles/$PROVISIONING_PROFILE.mobileprovision" ]
then