We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bc1df1 commit b9d5f1aCopy full SHA for b9d5f1a
DATA/production/qc-workflow.sh
@@ -114,7 +114,8 @@ if [[ -z $QC_JSON_FROM_OUTSIDE ]]; then
114
MERGED_JSON_FILENAME=`realpath $MERGED_JSON_FILENAME`
115
116
if [[ "0$QC_REDIRECT_MERGER_TO_LOCALHOST" == "01" ]]; then
117
- sed -i -E 's/( *)"remoteMachine" *: *".*"(,|) *$/\1"remoteMachine": "127.0.0.1"\2/' $MERGED_JSON_FILENAME
+ sed -i.bak -E 's/( *)"remoteMachine" *: *".*"(,?) *$/\1"remoteMachine": "127.0.0.1"\2/' $MERGED_JSON_FILENAME
118
+ unlink $MERGED_JSON_FILENAME.bak
119
fi
120
QC_JSON_FROM_OUTSIDE="$MERGED_JSON_FILENAME"
121
0 commit comments