X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fadvanced%2FloadXml.sh;h=8991e3e966e027528548b07bbdff2930f74d7137;hb=080dc0740d8b02011dee032f5d44eeb5f2ffe23f;hp=26749d569cd7916aca2946b864df800771e47ec0;hpb=7bf36f6cec41494071f07699184d8230ccd8cb41;p=anna.git diff --git a/example/diameter/launcher/deployments/advanced/loadXml.sh b/example/diameter/launcher/deployments/advanced/loadXml.sh index 26749d5..8991e3e 100755 --- a/example/diameter/launcher/deployments/advanced/loadXml.sh +++ b/example/diameter/launcher/deployments/advanced/loadXml.sh @@ -1,7 +1,4 @@ #!/bin/bash -> curl_log.txt -TRACE="--trace-ascii curl_log.txt" -SERVER=`cat .httpServer` use () { @@ -9,7 +6,7 @@ use () { echo echo "Load xml file and show on stdout again." echo "It is useful to test xml loader and xml viewer, but also for show aliases and," - echo "if '-ignoreFlags' commandline option is missing, for flag coherence checking." + echo "if '--ignoreFlags' commandline option is missing, for flag coherence checking." echo exit } @@ -18,6 +15,5 @@ echo [[ "$1" = "" ]] && use [[ ! -f "$1" ]] && { echo "ERROR: file '$1' not found" ; echo; echo; exit ; } echo -operation="loadxml|$1" -curl -m 1 --data "$operation" $TRACE ${SERVER} +./operation.sh "loadxml|$1"