Skip to content

Commit 21d5a73

Browse files
committed
Fix broken curl command
1 parent e738918 commit 21d5a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

script/create-practice-repos

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ create_repo() {
142142
# Create a new practice repo named $repo_name in $CLASS_ORG
143143
echo "Creating $CLASS_ORG/$repo_name for $student..."
144144
curl -s -i -u "$TOKEN_OWNER:$TEACHER_PAT" \
145-
"{ \"name\": \"${repo_name}\", \"description\": \"$repo_description\", \"homepage\": \"${template_pages_url}\", \"private\": false, \"has_issues\": true, \"has_wiki\": false, \"has_downloads\": true}" \
145+
-d "{ \"name\": \"$repo_name\", \"description\": \"$repo_description\", \"homepage\": \"$template_pages_url\", \"private\": false, \"has_issues\": true, \"has_wiki\": false, \"has_downloads\": true}" \
146146
-X POST "https://${INSTANCE_URL}/orgs/${CLASS_ORG}/repos" >>log.out 2>&1
147147

148148
git_push

0 commit comments

Comments
 (0)