X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fbasic%2Fconfigure.sh;h=092adfca23e68160819a9da53964621bc3525807;hp=cc4fa748f9cd8ea53f9bc17f7765ec8d431762f4;hb=ea1b80f8fd0c1b806460f98f4e4cf433698857d9;hpb=8b3eb3637cbe90fbabe70ec5667cce58cb7e368b diff --git a/example/diameter/launcher/deployments/basic/configure.sh b/example/diameter/launcher/deployments/basic/configure.sh index cc4fa74..092adfc 100755 --- a/example/diameter/launcher/deployments/basic/configure.sh +++ b/example/diameter/launcher/deployments/basic/configure.sh @@ -5,7 +5,7 @@ ############# # General -EXE_BN=ADML-launcher +EXE_BN=ADML ############# # FUNCTIONS # @@ -29,7 +29,7 @@ STARTED=\`pgrep $1$ 2>/dev/null\` 0> launcher.trace rm -f counters/* test-reports/* # Execution line: -export LD_LIBRARY_PATH=\$PWD +export LD_LIBRARY_PATH=\$PWD/dynlibs ./$@ --services services.xml & echo \$! > .pid EOF @@ -74,7 +74,6 @@ read enable KINDNESS= echo echo "Strict xml for decoded messages ? (y/n) [y]:" -echo " (ignoring flags turns a made-up xml representation; execute './$EXE_BN | grep -A1 ignoreFlags:' for more help)" read strict [ "$strict" = "" ] && strict=y [ "$strict" = "n" ] && KINDNESS="--ignoreFlags" @@ -82,7 +81,6 @@ if [ "$option" = "s" ] then echo echo "Ignore errors ? (y/n) [n]:" - echo " (ignoring errors, the process won't answer Failed-AVP automatically; execute './$EXE_BN | grep -A1 ignoreErrors:' for more help)" read i_errors [ "$i_errors" = "" ] && i_errors=n [ "$i_errors" = "y" ] && KINDNESS="$KINDNESS --ignoreErrors" @@ -90,7 +88,7 @@ fi # Run script: EXE_LINK=`basename $PWD` -ln -sf $EXE_BN $EXE_LINK +[ "$EXE_BN" != "$EXE_LINK" ] && ln -sf $EXE_BN $EXE_LINK case $tol in