File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/sh
22if grep -q " __CENTRAL_SETTLEMENTS_ENDPOINT__" /usr/share/nginx/html/runtime-env.js; then
3- sed -i ' s#__CENTRAL_SETTLEMENTS_ENDPOINT__#' " $CENTRAL_SETTLEMENTS_ENDPOINT " ' #g' /usr/share/nginx/html/runtime-env.js
4- sed -i ' s#__CENTRAL_LEDGER_ENDPOINT__#' " $CENTRAL_LEDGER_ENDPOINT " ' #g' /usr/share/nginx/html/runtime-env.js
5- sed -i ' s#__REPORTING_TEMPLATE_API_ENDPOINT__#' " $REPORTING_TEMPLATE_API_ENDPOINT " ' #g' /usr/share/nginx/html/runtime-env.js
3+ sed -i ' s#__CENTRAL_SETTLEMENTS_ENDPOINT__#' " $CENTRAL_SETTLEMENTS_ENDPOINT " ' #g' /usr/share/nginx/html/runtime-env.js;
4+ sed -i ' s#__CENTRAL_LEDGER_ENDPOINT__#' " $CENTRAL_LEDGER_ENDPOINT " ' #g' /usr/share/nginx/html/runtime-env.js;
5+ sed -i ' s#__REPORTING_TEMPLATE_API_ENDPOINT__#' " $REPORTING_TEMPLATE_API_ENDPOINT " ' #g' /usr/share/nginx/html/runtime-env.js;
66else
7- echo " skipping replacement."
7+ echo " skipping replacement." ;
88fi
99
1010exec " $@ "
You can’t perform that action at this time.
0 commit comments