projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dynamic realm registration
[anna.git]
/
example
/
diameter
/
launcher
/
DEPLOY_clientAndServer.sh
diff --git
a/example/diameter/launcher/DEPLOY_clientAndServer.sh
b/example/diameter/launcher/DEPLOY_clientAndServer.sh
index
c8bf3e6
..
628c223
100755
(executable)
--- a/
example/diameter/launcher/DEPLOY_clientAndServer.sh
+++ b/
example/diameter/launcher/DEPLOY_clientAndServer.sh
@@
-4,13
+4,14
@@
# VARIABLES #
#############
DEPLOY_SCR=`dirname $0`/DEPLOY.sh
# VARIABLES #
#############
DEPLOY_SCR=`dirname $0`/DEPLOY.sh
+DEPLOY_DIR__dflt=$HOME/ADML
#############
# FUNCTIONS #
#############
usage() {
echo
#############
# FUNCTIONS #
#############
usage() {
echo
- echo "Usage: $0
<empty directory>
"
+ echo "Usage: $0
[empty directory: '$DEPLOY_DIR__dflt' by default]
"
echo
exit 1
}
echo
exit 1
}
@@
-19,7
+20,7
@@
usage() {
# EXECUTION #
#############
DIR=$1
# EXECUTION #
#############
DIR=$1
-[ "$DIR" = "" ] &&
usage
+[ "$DIR" = "" ] &&
DIR=$DEPLOY_DIR__dflt
[ -d $DIR ] && usage
$DEPLOY_SCR b $DIR/client
[ -d $DIR ] && usage
$DEPLOY_SCR b $DIR/client