#!/bin/sh
if test $# -ne 2
then
   echo "usage: lus2nbac <lustre file> <main node>"
   exit 1
fi;
FILE=$1
MAIN=$2
lus2ec $FILE $MAIN
if test $? -eq 0
then
        ec2nbac $MAIN.ec -opt
fi
