projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improv. copy
[anna.git]
/
example
/
diameter
/
launcher
/
DEPLOY.sh
diff --git
a/example/diameter/launcher/DEPLOY.sh
b/example/diameter/launcher/DEPLOY.sh
index
8913695
..
fe35371
100755
(executable)
--- 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
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
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
cp -rL $DEPLOYMENTS_DIR/* $DPATH
cp $SETUPS_DIR/*xml $DPATH/stacks