Use subshell instead of argument redirection

I'm getting an access denied error, hopefully this will fix that.
This commit is contained in:
Tom Willemse 2023-02-04 18:38:13 -08:00
parent 016d9a4d12
commit 9855eb32ec

View file

@ -22,6 +22,6 @@ tasks:
"readme": . "readme": .
} }
}' < $readme \ }' < $readme \
| curl --fail-with-body --oauth2-bearer <(~/.vc-p4-auth) \ | curl --fail-with-body --oauth2-bearer "$(cat ~/.vc-p4-auth)" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d@- https://git.sr.ht/query -d@- https://git.sr.ht/query