mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-19 11:15:49 +00:00
Fix bugs in PR-aware "Edit in GitHub" code
works around BashFAQ #050 etc.
This commit is contained in:
@@ -11,7 +11,7 @@ gitForkWithoutSuffix=${ghprbAuthorRepoGitUrl%.git}
|
||||
|
||||
if [ -n "$ghprbPullId" ];
|
||||
then
|
||||
dactyl_vars='--vars '"'"'{"github_forkurl": "'"$gitForkWithoutSuffix"'", "github_branch": "'"$ghprbSourceBranch"'", "github_pr_id": "'"$ghprbPullId"'"}'"'"
|
||||
dactyl_vars="'"'{"github_forkurl": "'"$gitForkWithoutSuffix"'", "github_branch": "'"$ghprbSourceBranch"'", "github_pr_id": "'"$ghprbPullId"'", "is_pr_build": true}'"'"
|
||||
else
|
||||
dactyl_vars=""
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user