#!/bin/bash
# Check for proper number of command line args.
if [ "$#" -ne 2 ]; then
echo "Usage: makeSerialLinks fluidCase solidCase"
exit 1
fi
if [ "$WM_OSTYPE" = "MSWindows" ]
then
cd $1
cd constant
cp -r ../../$2/constant solid
cd ../system
cp -r ../../$2/system solid
cd ../0
cp -r ../../$2/0 solid
cd ../..
else
ln -s ../../$2/constant solid
ln -s ../../$2/system solid
ln -s ../../$2/0 solid