From 52ef1b135cc2eb90d51db903acb5bf0d49013aa7 Mon Sep 17 00:00:00 2001 From: Eduardo Ramos Testillano Date: Sat, 12 Jul 2014 13:44:14 +0200 Subject: [PATCH] Easy to use: not have to install software, only compile as debug. --- example/diameter/launcher/DEPLOY.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/example/diameter/launcher/DEPLOY.sh b/example/diameter/launcher/DEPLOY.sh index e387526..4a29575 100755 --- a/example/diameter/launcher/DEPLOY.sh +++ b/example/diameter/launcher/DEPLOY.sh @@ -5,7 +5,8 @@ SETUPS_DIR=../../../source/diameter/stack/setups MSGDTD=../../../include/anna/diameter/codec/message.dtd DCTDTD=../../../include/anna/diameter/stack/dictionary.dtd BASE_PROT=commands_baseProtocol.xml -EXEC=/opt/bin/anna/example_diameter_launcher +#EXEC=/opt/bin/anna/example_diameter_launcher +EXEC=./debug/example_diameter_launcher DPATH_dflt=$HOME/ADL _exit () { @@ -72,7 +73,8 @@ read DPATH [[ -d $DPATH ]] && _exit "The path '$DPATH' already exists. Remove it before continue..." echo "Basic checkings ..." -[[ ! -f $EXEC ]] && _exit "Anna Diameter Launcher (ADL) is not installed in the system. Execute 'sudo scons install' for 'anna' suite." +#[[ ! -f $EXEC ]] && _exit "Anna Diameter Launcher (ADL) is not installed in the system. Execute 'sudo scons install' for 'anna' suite." +[[ ! -f $EXEC ]] && _exit "Anna Diameter Launcher (ADL) is not linked. Execute 'scons' for 'anna' suite." [[ ! -d $SETUPS_DIR ]] && _exit "Diameter stacks not found ($SETUPS_DIR). Perhaps you executed this script out of its parent path." echo "Copying ..." -- 2.20.1