From 9855eb32ec5eedb017f6532a83b800b448f4bdb0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sat, 4 Feb 2023 18:38:13 -0800 Subject: [PATCH] Use subshell instead of argument redirection I'm getting an access denied error, hopefully this will fix that. --- .builds/readme.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.builds/readme.yml b/.builds/readme.yml index 609f2b8..6686651 100644 --- a/.builds/readme.yml +++ b/.builds/readme.yml @@ -22,6 +22,6 @@ tasks: "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" \ -d@- https://git.sr.ht/query