Output base64 encoded data on one line in command examples (#477)

* base64 -> openssl base64 -A

output base64 encoded data on one line, on both linux and macos

* base64 -> openssl base64 -A

output base64 encoded data on one line, on both linux and macos

* Update install_profile

* Update install_provisioning_profile
This commit is contained in:
Gerard Kok
2018-08-10 19:21:50 +02:00
committed by Scott Knight
parent e26bc2c19c
commit 653e9ac2d0
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ endpoint="v1/commands"
jq -n \
--arg request_type "InstallProfile" \
--arg udid "$1" \
--arg payload $(cat $2|base64) \
--arg payload "$(cat $2|openssl base64 -A)" \
'.udid = $udid
|.payload = $payload
|.request_type = $request_type

View File

@@ -4,7 +4,7 @@ endpoint="v1/commands"
jq -n \
--arg request_type "InstallProvisioningProfile" \
--arg udid "$1" \
--arg provisioning_profile $(cat $2|base64) \
--arg provisioning_profile "$(cat $2|openssl base64 -A)" \
'.udid = $udid
|.provisioning_profile = $provisioning_profile
|.request_type = $request_type