source: release-kits/shared/install-symlinks-for-externals.sh@ 20336

Last change on this file since 20336 was 20336, checked in by oranfry, 15 years ago

updated after rk3 created

  • Property svn:executable set to *
File size: 648 bytes
Line 
1function linkup() {
2 local component=$1
3 shift
4 #do core
5 for rk in $*; do
6 if [ ! -e "../$rk/$component" ]; then
7 ln -s "../shared/$component" "../$rk"
8 fi
9 done
10}
11
12#check they all exist first
13for rk in lirk2 wirk2 mark2 rk3 sork2 sork3 derk cdrk2; do
14 if [ ! -d "../$rk" ]; then
15 echo "$rk not present"
16 some_not_present=true
17 fi
18done
19if [ "$some_not_present" == "true" ]; then
20 exit
21fi
22
23linkup core rk3 lirk2 wirk2 mark2 sork2 sork3 derk cdrk2
24linkup greenstone2 lirk2 wirk2 mark2 sork2 cdrk2
25linkup greenstone3 rk3 sork3
26linkup linux rk3 lirk2 mark2 sork2 sork3 derk cdrk2
27linkup windows rk3 wirk2 sork2 sork3 cdrk2
28linkup mac rk3 mark2
29
Note: See TracBrowser for help on using the repository browser.