From d028ac4d72c144d25e160121d76ae815e8f37318 Mon Sep 17 00:00:00 2001 From: Eduardo Ramos Testillano Date: Mon, 1 Feb 2016 12:46:18 +0100 Subject: [PATCH] improv. copy --- example/diameter/launcher/DEPLOY.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.20.1