From: Eduardo Ramos Testillano Date: Mon, 1 Feb 2016 11:46:18 +0000 (+0100) Subject: improv. copy X-Git-Tag: REFACTORING_TESTING_LIBRARY~44 X-Git-Url: https://git.teslayout.com/public/public/public/?a=commitdiff_plain;h=d028ac4d72c144d25e160121d76ae815e8f37318;p=anna.git improv. copy --- 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