summaryrefslogtreecommitdiffstats
path: root/selftest
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-15 22:14:38 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-03-16 00:08:08 +0100
commit53fb0cf22ba887d9bf4c7bf3d58f07bef90aa48b (patch)
tree31d0aa7f8f7e40e44dfcf0189bcd36283ec71b43 /selftest
parent1a4c4601d7e32e004e99c20a9c2dc78112208a7f (diff)
gen_links.sh: auto-generate .gitignore files to ignore symlinks
In each subdir that is a target for symlinks, automatically ignore the results of gen_links(): - At the top of gen_links.sh.inc, clear the .gitignore. - In the loop, add each link name to the local .gitignore. - In selected gen_links.sh, there is also a "manual" link creationg. So that this also ends up in the local .gitignore, have the link creation as separate gen_link() macro which at the same time adds to ./.gitignore. - in the root .gitignore, ignore all the subdirs' generated */.gitignore files. Change-Id: I73c11fe8362358bf7e1bdf0e1be53399b5d3351b
Diffstat (limited to 'selftest')
-rwxr-xr-xselftest/gen_links.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/selftest/gen_links.sh b/selftest/gen_links.sh
index 542e3c2..2a98aaf 100755
--- a/selftest/gen_links.sh
+++ b/selftest/gen_links.sh
@@ -29,7 +29,7 @@ gen_links $DIR $FILES
DIR=../SCCP_CNL113341/src
FILES="SCCP_Emulation.ttcn SCCP_Mapping.ttcnpp SCCP_Types.ttcn SCCPasp_Types.ttcn"
gen_links $DIR $FILES
-ln -sf SCCP_Mapping.ttcnpp SCCP_Mapping.ttcn
+gen_link SCCP_Mapping.ttcnpp SCCP_Mapping.ttcn
DIR=$BASEDIR/titan.ProtocolModules.BSSMAP_v11.2.0/src
FILES="BSSAP_Types.ttcn"