properly escape space

This commit is contained in:
Kyle Spearrin 2020-06-09 12:31:18 -04:00
parent 98757c3f11
commit 45e2ffd71e

View file

@ -7,12 +7,12 @@ $extensionProfilePath = $($secretsPath + "/dist_extension.mobileprovision");
$autofill_uuid = grep UUID -A1 -a $autofillProfilePath | grep -io "[-A-F0-9]\{36\}" $autofill_uuid = grep UUID -A1 -a $autofillProfilePath | grep -io "[-A-F0-9]\{36\}"
Copy-Item $autofillProfilePath ` Copy-Item $autofillProfilePath `
-destination ~/Library/MobileDevice/Provisioning\ Profiles/$autofill_uuid.mobileprovision -destination "~/Library/MobileDevice/Provisioning Profiles/$autofill_uuid.mobileprovision"
$bitwarden_uuid = grep UUID -A1 -a $bitwardenProfilePath | grep -io "[-A-F0-9]\{36\}" $bitwarden_uuid = grep UUID -A1 -a $bitwardenProfilePath | grep -io "[-A-F0-9]\{36\}"
Copy-Item $bitwardenProfilePath ` Copy-Item $bitwardenProfilePath `
-destination ~/Library/MobileDevice/Provisioning\ Profiles/$bitwarden_uuid.mobileprovision -destination "~/Library/MobileDevice/Provisioning Profiles/$bitwarden_uuid.mobileprovision"
$extension_uuid = grep UUID -A1 -a $extensionProfilePath | grep -io "[-A-F0-9]\{36\}" $extension_uuid = grep UUID -A1 -a $extensionProfilePath | grep -io "[-A-F0-9]\{36\}"
Copy-Item $extensionProfilePath ` Copy-Item $extensionProfilePath `
-destination ~/Library/MobileDevice/Provisioning\ Profiles/$extension_uuid.mobileprovision -destination "~/Library/MobileDevice/Provisioning Profiles/$extension_uuid.mobileprovision"