X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=example%2Fdiameter%2Flauncher%2FDEPLOY.sh;h=fe353711b8f22e8f1573cbd5e7303d24bd236894;hp=8913695ba5d3316ddf1e539b627e85090976204e;hb=d028ac4d72c144d25e160121d76ae815e8f37318;hpb=204a2f272da5c07340a1c3380ad59cec9a81f012 diff --git a/example/diameter/launcher/DEPLOY.sh b/example/diameter/launcher/DEPLOY.sh index 8913695..fe35371 100755 --- a/example/diameter/launcher/DEPLOY.sh +++ b/example/diameter/launcher/DEPLOY.sh @@ -190,9 +190,9 @@ fi if [ "$STACKMGMT_EXEC" = "$STACKMGMT_EXEC_installed" ] then ln -s $STACKMGMT_EXEC_installed $DPATH/stacks/stack-mgmt -else - cp $STACKMGMT_EXEC $DPATH/stacks/stack-mgmt fi +# Copy binary just in case: +[ ! -f $DPATH/stacks/stack-mgmt ] && cp $STACKMGMT_EXEC $DPATH/stacks/stack-mgmt cp -rL $DEPLOYMENTS_DIR/* $DPATH cp $SETUPS_DIR/*xml $DPATH/stacks