summaryrefslogtreecommitdiffstats
path: root/lapdm/gen_links.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2017-07-19 20:17:31 +0200
committerHarald Welte <laforge@gnumonks.org>2017-07-19 20:17:31 +0200
commitb2f94c4baa7f4bfdc2fd2b28d19087a2177f3df6 (patch)
treebc8537dc56a2d22f413926d56d6e1e9e151f945b /lapdm/gen_links.sh
parent5b1ce8c4f49004b101f794d94060f5666b532ce2 (diff)
move lapd to lapdm (it was a mis-nomer)
Diffstat (limited to 'lapdm/gen_links.sh')
-rwxr-xr-xlapdm/gen_links.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/lapdm/gen_links.sh b/lapdm/gen_links.sh
new file mode 100755
index 0000000..d849751
--- /dev/null
+++ b/lapdm/gen_links.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+BASEDIR=~/projects/git
+
+gen_links() {
+ DIR=$1
+ FILES=$*
+ for f in $FILES; do
+ echo "Linking $f"
+ ln -sf $DIR/$f $f
+ done
+}
+
+DIR=$BASEDIR/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/src
+FILES="UD_PT.cc UD_PT.hh UD_PortType.ttcn UD_Types.ttcn"
+gen_links $DIR $FILES
+
+
+
+DIR=../library
+FILES="General_Types.ttcn GSM_Types.ttcn Osmocom_Types.ttcn L1CTL_PortType.ttcn L1CTL_Types.ttcn"
+gen_links $DIR $FILES