projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support for Multiple Peer deployments. Support for coexisting several ADMLS instances...
[anna.git]
/
example
/
diameter
/
launcher
/
deployments
/
st-client
/
run_all.sh
diff --git
a/example/diameter/launcher/deployments/st-client/run_all.sh
b/example/diameter/launcher/deployments/st-client/run_all.sh
index
8287beb
..
58a68bf
100755
(executable)
--- a/
example/diameter/launcher/deployments/st-client/run_all.sh
+++ b/
example/diameter/launcher/deployments/st-client/run_all.sh
@@
-1,18
+1,18
@@
#!/bin/bash
#!/bin/bash
-
-# Core generation:
-ulimit -c unlimited
+target=$1
+[ -z "$target" ] && target=ADMLS
cd `dirname $0`
cd `dirname $0`
-if [ ! -d
"ADMLS"
]
+if [ ! -d
$target
]
then
echo
then
echo
- echo "Run './configure.sh' first !"
+ echo "Directory '$target' missing. Run './configure.sh' first !"
+ echo "(remember that you could provide another target as argument)"
echo
exit 1
fi
echo
exit 1
fi
-for run in `ls
ADMLS
/*/run.sh`
+for run in `ls
$target
/*/run.sh`
do
cd `dirname $run`
instance_name=$(basename $PWD)
do
cd `dirname $run`
instance_name=$(basename $PWD)