File mttroot/mtt/bin/trans/mtt_get_subsystems artifact f462408545 part of check-in 575219514b
#!/bin/sh # Gets the subsystems while [ -n "`echo $1 | grep '^-'`" ]; do case $1 in -strip ) strip=yes; ;; *) echo "$1 is an invalid argument - ignoring"; exit ;; esac shift done subsystems=`sh $1_sub.sh "echo grep " " $1_abg.m" |\ sh | awk -F '.' '{print $3}'` if [ -n "$strip" ]; then echo $subsystems else for subsystem in $subsystems; do # echo -n $1_$subsystem' ' echo $1_$subsystem #| awk '{printf("%s ",$1)}' done echo fi