X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2Fdeployments%2Fbasic%2Fconfigure.sh;h=cc4fa748f9cd8ea53f9bc17f7765ec8d431762f4;hb=8b3eb3637cbe90fbabe70ec5667cce58cb7e368b;hp=7a3705b644fe020778e9f35d6b54cc85f239e389;hpb=4c3f0a4d7e4db76996404d80c6f939548fca656f;p=anna.git diff --git a/example/diameter/launcher/deployments/basic/configure.sh b/example/diameter/launcher/deployments/basic/configure.sh index 7a3705b..cc4fa74 100755 --- a/example/diameter/launcher/deployments/basic/configure.sh +++ b/example/diameter/launcher/deployments/basic/configure.sh @@ -24,11 +24,12 @@ createRunScript () { cat << EOF > run.sh #!/bin/bash cd \`dirname \$0\` -STARTED=\`pgrep $1 2>/dev/null\` +STARTED=\`pgrep $1$ 2>/dev/null\` [ \$? -eq 0 ] && { echo "Already started!"; echo "\$STARTED" ; exit 1 ; } 0> launcher.trace rm -f counters/* test-reports/* # Execution line: +export LD_LIBRARY_PATH=\$PWD ./$@ --services services.xml & echo \$! > .pid EOF @@ -88,7 +89,7 @@ then fi # Run script: -EXE_LINK=ADML-$tol +EXE_LINK=`basename $PWD` ln -sf $EXE_BN $EXE_LINK case $tol in