Harald Welte | f654332 | 2017-07-16 07:35:10 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | BASEDIR=~/projects/git |
| 4 | |
| 5 | gen_links() { |
| 6 | DIR=$1 |
| 7 | FILES=$* |
| 8 | for f in $FILES; do |
| 9 | echo "Linking $f" |
| 10 | ln -sf $DIR/$f $f |
| 11 | done |
| 12 | } |
| 13 | |
Harald Welte | 52c713c | 2017-07-16 15:44:44 +0200 | [diff] [blame] | 14 | DIR=$BASEDIR/titan.TestPorts.UNIX_DOMAIN_SOCKETasp/src |
| 15 | FILES="UD_PT.cc UD_PT.hh UD_PortType.ttcn UD_Types.ttcn" |
| 16 | gen_links $DIR $FILES |
| 17 | |
| 18 | |
| 19 | |
Harald Welte | 3b8bdd6 | 2017-07-19 19:57:26 +0200 | [diff] [blame] | 20 | DIR=../library |
Harald Welte | 5b1ce8c | 2017-07-19 20:16:54 +0200 | [diff] [blame^] | 21 | FILES="General_Types.ttcn GSM_Types.ttcn Osmocom_Types.ttcn L1CTL_PortType.ttcn L1CTL_Types.ttcn" |
Harald Welte | f654332 | 2017-07-16 07:35:10 +0200 | [diff] [blame] | 22 | gen_links $DIR $FILES |