mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 03:35:51 +00:00
Fix all-target-link-checker var clash
This commit is contained in:
@@ -2,9 +2,10 @@
|
||||
mkdir -p out
|
||||
|
||||
# Pass forward dactyl "vars" arg if provided
|
||||
if [ -n "$1" ];
|
||||
if [ "$1" == "--vars" ] && [ -n "$2" ];
|
||||
then
|
||||
dactyl_vars=$1
|
||||
dactyl_vars=$2
|
||||
shift 2
|
||||
fi
|
||||
|
||||
targets=`dactyl_build -lq | awk '{print $1}'`
|
||||
|
||||
@@ -11,7 +11,8 @@ gitForkWithoutSuffix=${ghprbAuthorRepoGitUrl%.git}
|
||||
|
||||
if [ -n "$ghprbPullId" ];
|
||||
then
|
||||
dactyl_vars="'"'{"github_forkurl": "'"$gitForkWithoutSuffix"'", "github_branch": "'"$ghprbSourceBranch"'", "github_pr_id": "'"$ghprbPullId"'", "is_pr_build": true}'"'"
|
||||
echo '{"github_forkurl": "'"$gitForkWithoutSuffix"'", "github_branch": "'"$ghprbSourceBranch"'", "github_pr_id": "'"$ghprbPullId"'", "is_pr_build": true}' > pr_vars.json
|
||||
dactyl_vars="pr_vars.json"
|
||||
else
|
||||
dactyl_vars=""
|
||||
fi
|
||||
@@ -19,4 +20,4 @@ fi
|
||||
set -e
|
||||
|
||||
tool/conflictmarkers.sh
|
||||
tool/all-target-link-checker.sh "$dactyl_vars"
|
||||
tool/all-target-link-checker.sh --vars "$dactyl_vars"
|
||||
|
||||
Reference in New Issue
Block a user