From 52f88cd0ba6c6996bd561ca9d40671613090ed13 Mon Sep 17 00:00:00 2001 From: Takashi Masuda Date: Sat, 16 Feb 2019 13:50:40 +0900 Subject: [PATCH] Fix wrong command name --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index bf4685a..683dc1c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -40,11 +40,11 @@ find_project_id() { case "$_PROJECT_TYPE" in org) - _ORG_NAME=$(echo "$_PROJECT_URL" | gsed -e 's@https://github.com/orgs/\([^/]\+\)/projects/[0-9]\+@\1@') + _ORG_NAME=$(echo "$_PROJECT_URL" | sed -e 's@https://github.com/orgs/\([^/]\+\)/projects/[0-9]\+@\1@') _ENDPOINT="https://api.github.com/orgs/$_ORG_NAME/projects" ;; user) - _USER_NAME=$(echo "$_PROJECT_URL" | gsed -e 's@https://github.com/users/\([^/]\+\)/projects/[0-9]\+@\1@') + _USER_NAME=$(echo "$_PROJECT_URL" | sed -e 's@https://github.com/users/\([^/]\+\)/projects/[0-9]\+@\1@') _ENDPOINT="https://api.github.com/users/$_USER_NAME/projects" ;; repo)