Merge pull request #166 from zimmra/handle-multiple-backslashes
Modify sed to only remove first `/`
This commit is contained in:
@@ -22,7 +22,7 @@ getArrAppInfo () {
|
||||
if [ "$arrUrlBase" == "null" ]; then
|
||||
arrUrlBase=""
|
||||
else
|
||||
arrUrlBase="/$(echo "$arrUrlBase" | sed "s/\///g")"
|
||||
arrUrlBase="/$(echo "$arrUrlBase" | sed "s/\///")"
|
||||
fi
|
||||
arrName="$(cat /config/config.xml | xq | jq -r .Config.InstanceName)"
|
||||
arrApiKey="$(cat /config/config.xml | xq | jq -r .Config.ApiKey)"
|
||||
|
||||
Reference in New Issue
Block a user