Commit aff2961b authored by YannGarcia's avatar YannGarcia
Browse files

Add install script

parent d014e984
Loading
Loading
Loading
Loading

install.sh

0 → 100755
+30 −0
Original line number Original line Diff line number Diff line
#!/bin/bash

#set -e
set -vx

BASE_PATH=`pwd`

git checkout devel
git submodule update --init --recursive --remote

if [ ! -f ./titan-test-system-framework ]
then
    git clone --recurse-submodules --single-branch --branch devel https://labs.etsi.org/rep/cti-tools/titan-test-system-framework.git
    cd ./titan-test-system-framework
else
    cd ./titan-test-system-framework
    git checkout devel
fi
cd ./ttcn/LibHttp
ln -sf module_emtel.mk module.mk

cd $BASE_PATH
cp ./ttcn/patch_lib_common_titan/module.mk ./ttcn/LibCommon/
cp ./ttcn/patch_lib_common_titan/ttcn/*.ttcn ./ttcn/LibCommon/ttcn/
cp ./ttcn/patch_ims_titan/*.ttcn ./ttcn/LibIms/ttcn/
cp ./ttcn/patch_ims_titan/module.mk ./ttcn/LibIms/
cp ./ttcn/patch_sip_titan/*.ttcn ./ttcn/LibSip/ttcn/
cp ./ttcn/patch_sip_titan/module.mk ./ttcn/LibSip/

exit 0