summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-04-12 13:54:25 +0200
committerHarald Welte <laforge@gnumonks.org>2017-04-12 13:54:25 +0200
commit58e03e249395fbcb241fdf832e490a2b72011a50 (patch)
treef281d19372fd0bd6c8719ca30cfe54fe7c9d59a7 /bin
parentd69f34514eefcf88d27b9c0f944d271777c427d2 (diff)
install.script: Make it work from other directories
Diffstat (limited to 'bin')
-rwxr-xr-xbin/install.script34
1 files changed, 16 insertions, 18 deletions
diff --git a/bin/install.script b/bin/install.script
index d6808cc..a554408 100755
--- a/bin/install.script
+++ b/bin/install.script
@@ -1,34 +1,32 @@
#!/bin/sh
+SRC_BASE_DIR=~/projects/git/osmo-ttcn3-hacks
-
-ln -sf ../COMMON/src/General_Types.ttcn .
+ln -sf $SRC_BASE_DIR/COMMON/src/General_Types.ttcn .
#M3UA protocol module
-ln -sf ../M3UA_CNL113536/src/M3UA_Types.ttcn .
+ln -sf $SRC_BASE_DIR/M3UA_CNL113536/src/M3UA_Types.ttcn .
#M3UA Emulator
-ln -sf ../M3UA_CNL113537/src/M3UA_Emulation.ttcn .
+ln -sf $SRC_BASE_DIR/M3UA_CNL113537/src/M3UA_Emulation.ttcn .
#MTP3 test port (partly)
-
-ln -sf ../MTP3asp_CNL113337/src/MTP3asp_Types.ttcn .
-ln -sf ../MTP3asp_CNL113337/src/MTP3asp_PortType.ttcn .
+ln -sf $SRC_BASE_DIR/MTP3asp_CNL113337/src/MTP3asp_Types.ttcn .
+ln -sf $SRC_BASE_DIR/MTP3asp_CNL113337/src/MTP3asp_PortType.ttcn .
#SCCP Emulator + protocol module
-
-ln -sf ../SCCP_CNL113341/src/SCCPasp_Types.ttcn .
-ln -sf ../SCCP_CNL113341/src/SCCP_Types.ttcn .
-ln -sf ../SCCP_CNL113341/src/SCCP_Mapping.ttcnpp .
-ln -sf ../SCCP_CNL113341/src/SCCP_Emulation.ttcn .
+ln -sf $SRC_BASE_DIR/SCCP_CNL113341/src/SCCPasp_Types.ttcn .
+ln -sf $SRC_BASE_DIR/SCCP_CNL113341/src/SCCP_Types.ttcn .
+ln -sf $SRC_BASE_DIR/SCCP_CNL113341/src/SCCP_Mapping.ttcnpp .
+ln -sf $SRC_BASE_DIR/SCCP_CNL113341/src/SCCP_Emulation.ttcn .
#SCTP test port
-ln -sf ../SCTPasp_CNL113469/src/SCTPasp_Types.ttcn .
-ln -sf ../SCTPasp_CNL113469/src/SCTPasp_PortType.ttcn .
-ln -sf ../SCTPasp_CNL113469/src/SCTPasp_PT.hh .
-ln -sf ../SCTPasp_CNL113469/src/SCTPasp_PT.cc .
+ln -sf $SRC_BASE_DIR/SCTPasp_CNL113469/src/SCTPasp_Types.ttcn .
+ln -sf $SRC_BASE_DIR/SCTPasp_CNL113469/src/SCTPasp_PortType.ttcn .
+ln -sf $SRC_BASE_DIR/SCTPasp_CNL113469/src/SCTPasp_PT.hh .
+ln -sf $SRC_BASE_DIR/SCTPasp_CNL113469/src/SCTPasp_PT.cc .
#Test cases
-ln -sf ../SCCP_Test/SCCP_Testcases.ttcn .
-ln -sf ../SCCP_Test/SCCP_Testcases.cfg .
+ln -sf $SRC_BASE_DIR/SCCP_Test/SCCP_Testcases.ttcn .
+ln -sf $SRC_BASE_DIR/SCCP_Test/SCCP_Testcases.cfg .