6 DEPLOY_SCR=`dirname $0`/DEPLOY.sh
22 echo "Which one you want to deploy [1]:"
24 echo " 1. Client and server"
25 echo " 2. Ft-client and server"
28 [ "$type" = "" ] && type=1
32 DEPLOY_DIR__dflt=$HOME/ADML-clientAndServer
36 DEPLOY_DIR__dflt=$HOME/ADML-ftclientAndServer
40 echo "Unknown option!"
46 echo "Directory for deploy [$DEPLOY_DIR__dflt]:"
48 [ "$DIR" = "" ] && DIR=$DEPLOY_DIR__dflt
49 [ -d $DIR ] && _exit "The directory '$DIR' already exists !"
53 $DEPLOY_SCR b $DIR/client
54 $DEPLOY_SCR b $DIR/server
56 echo c | ./configure.sh
59 echo s | ./configure.sh
64 $DEPLOY_SCR f $DIR/ft-client
65 $DEPLOY_SCR b $DIR/server
67 echo s | ./configure.sh