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=3b326bcb972c6e802dda5e2d622d718ede41a62e;hb=ea1b80f8fd0c1b806460f98f4e4cf433698857d9;hpb=18319deabbc8563fc112795968372e96263e6fe4 diff --git a/example/diameter/launcher/deployments/basic/configure.sh b/example/diameter/launcher/deployments/basic/configure.sh index 3b326bc..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,6 +29,7 @@ STARTED=\`pgrep $1$ 2>/dev/null\` 0> launcher.trace rm -f counters/* test-reports/* # Execution line: +export LD_LIBRARY_PATH=\$PWD/dynlibs ./$@ --services services.xml & echo \$! > .pid EOF @@ -73,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" @@ -81,15 +81,14 @@ 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" fi # Run script: -EXE_LINK=ADML-`basename $PWD` -ln -sf $EXE_BN $EXE_LINK +EXE_LINK=`basename $PWD` +[ "$EXE_BN" != "$EXE_LINK" ] && ln -sf $EXE_BN $EXE_LINK case $tol in