Make absolute
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 15 Apr 2017 14:18:16 +0000 (16:18 +0200)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Sat, 15 Apr 2017 14:18:16 +0000 (16:18 +0200)
example/diameter/launcher/DEPLOY.sh

index 7ea9942..7e19fff 100755 (executable)
@@ -4,7 +4,7 @@
 # VARIABLES #
 #############
 SCR_DIR=`readlink -f $(dirname $0)`
-PROJECT_ROOT=$(readlink -f ../../..)
+PROJECT_ROOT=$(readlink -f $SCR_DIR/../../..)
 SETUPS_DIR=$PROJECT_ROOT/source/diameter/stack/setups
 MSGDTD=$PROJECT_ROOT/include/anna/diameter/codec/message.dtd
 DCTDTD=$PROJECT_ROOT/include/anna/diameter/stack/dictionary.dtd
@@ -75,7 +75,6 @@ EOF
 # EXECUTION #
 #############
 cd $SCR_DIR
-
 echo
 echo "---------------------------------------"
 echo "Anna Diameter Launcher (ADML) deployment"