Fix bug in deploy
authorEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Mon, 27 Jul 2015 21:39:51 +0000 (23:39 +0200)
committerEduardo Ramos Testillano <eduardo.ramos.testillano@ericsson.com>
Mon, 27 Jul 2015 21:39:51 +0000 (23:39 +0200)
example/diameter/launcher/DEPLOY.sh

index 7963f07..f83ec69 100755 (executable)
@@ -199,7 +199,7 @@ mkdir -p $DPATH
 mkdir -p $DPATH/stacks
 mkdir -p $DPATH/DTDs
 mkdir -p $DPATH/counters
-[ "option" = "b" ] && mkdir -p $DPATH/services
+[ "$option" = "b" ] && mkdir -p $DPATH/services
 if [ "$EXEC" = "$EXEC_installed" ]
 then
   ln -s $EXEC_installed $DPATH/ADML-launcher
@@ -213,7 +213,7 @@ cp $SETUPS_DIR/readme.txt $DPATH/stacks
 cp $MSGDTD $DPATH/DTDs
 cp $DCTDTD $DPATH/DTDs
 cp $SRVDTD $DPATH/DTDs
-[ "option" = "b" ] && cp $SERVICES/* $DPATH/services
+[ "$option" = "b" ] && cp $SERVICES/* $DPATH/services
 
 echo "Preparing ..."
 cd $DPATH