File mttroot/mtt/bin/trans/mtt_make_subsystems artifact b6acb92e03 part of check-in 9384c87968


#!/bin/sh

# Makes subsystems for partitioning
# Copyright (C) 2000 by Peter J. Gawthrop

options=$1
sys=$2
rep=$3
lang=$4

echo Creating subsystem representations for ${sys}_${rep}.${lang}
# Get subsystems
  subsystems=`mtt_get_subsystems -strip ${sys}`;

for subsystem in $subsystems; do
    echo mtt $options -u -q -sub $subsystem ${sys} ${rep} ${lang}
    ## Repeating systems need sorting out !!!!
    #cp $1_$subsystem"_"$2.$3 $1_$subsystem"_1_"$2.$3
done


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]