alex 49352a0ff7 Progetti Linux
git-svn-id: svn://10.65.10.50/trunk@12224 c028cbd2-c16b-5b4b-a496-9718f37d4682
2004-06-30 12:59:05 +00:00

44 lines
565 B
Plaintext
Executable File

compiler=$1
dstext=$1
srcext=$dstext
if [ $dstext == msk2 ];
then
dstext=msk
fi
if [ $dstext == msk ];
then
srcext=uml
fi
for i in $2*.$srcext
do
n=`basename $i .$srcext`
of=../../exed/
if [ $compiler == trr ];
then
of=$of/recdesc/
fi
if [ $compiler == dir ];
then
of=$of/recdesc/
fi
of=$of$n.$dstext
./$compiler $i $of
of1=../../exe/
if [ $compiler == trr ];
then
of1=$of1/recdesc/
fi
if [ $compiler == dir ];
then
of1=$of/1recdesc/
fi
of1=$of1$n.$dstext
if [ ! -L $of1 ];
then
dir=`pwd`
cd ../../exe/
ln -s ../exed/$n.$dstext $n.$dstext
cd $dir
fi
done