Commit e093afc7 authored by Nikolay Igotti's avatar Nikolay Igotti

Attempt to workaround signer site issue.

parent f2b5c392
...@@ -322,7 +322,7 @@ fun remoteSign(sign_host: String, lib: File) { ...@@ -322,7 +322,7 @@ fun remoteSign(sign_host: String, lib: File) {
val out = file("${lib.absolutePath}.signed") val out = file("${lib.absolutePath}.signed")
val cmd = """ val cmd = """
TOKEN=`curl -fsSL --user $user:$token --url "$sign_host/auth" | grep token | cut -d '"' -f4` \ TOKEN=`curl -fsSL --user $user:$token --url "$sign_host/auth" | grep token | cut -d '"' -f4` \
&& curl --no-keepalive --data-binary @${lib.absolutePath} \ && curl --no-keepalive --http1.1 --data-binary @${lib.absolutePath} \
-H "Authorization: Bearer ${'$'}TOKEN" \ -H "Authorization: Bearer ${'$'}TOKEN" \
-H "Content-Type:application/x-mac-app-bin" \ -H "Content-Type:application/x-mac-app-bin" \
"$sign_host/sign?name=${lib.name}" -o "${out.absolutePath}" "$sign_host/sign?name=${lib.name}" -o "${out.absolutePath}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment