From 7888accbcd876ce93d177c9565a8e5f821f98aea Mon Sep 17 00:00:00 2001 From: Guy Lemieux Date: Sat, 10 Sep 2022 20:03:02 -0700 Subject: [PATCH] Update bulk_transfer_repos.sh can't expand variables inside 'quotes' --- bulk_transfer_repos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bulk_transfer_repos.sh b/bulk_transfer_repos.sh index f3607f7..be92d89 100644 --- a/bulk_transfer_repos.sh +++ b/bulk_transfer_repos.sh @@ -23,7 +23,7 @@ function git_repo_transfer(){ -H "Content-Type: application/json" \ -H "Accept: application/vnd.github.v3+json" \ -X POST https://api.github.com/repos/$2/$1/transfer \ - -d '{"new_owner":"'$3'"}' \ + -d "{\"new_owner\":\"$3\"}" \ | jq . }