Removed unnecessary return statement
[foam-extend-3.2.git] / tutorials / solidMechanics / icoFsiElasticNonLinULSolidFoam / HronTurekFsi / makeLinks
blob3f787057039ec5a258012267247b5f606679fb82
1 #!/bin/bash
3 # Check for proper number of command line args.
4 if [ "$#" -ne 2 ]; then
5 echo "Usage: makeLinks fluidCase solidCase"
6 exit 1
7 fi
9 echo changing into fluid directory
10 cd $1/constant
12 echo creating links
13 ln -s ../../$2/constant solid
14 cd ../system
15 ln -s ../../$2/system solid
16 cd ../0
17 ln -s ../../$2/0 solid
18 cd ..
20 echo creating processor links
21 for proc in processor*
23 cd $proc
24 cd 0
25 ln -s ../../../$2/$proc/0 solid
26 cd ../constant
27 ln -s ../../../$2/$proc/constant solid
28 cd ../..
29 done