Index: mttroot/mtt/lib/xfig/Basic/MAKE_COMPONENT ================================================================== --- mttroot/mtt/lib/xfig/Basic/MAKE_COMPONENT +++ mttroot/mtt/lib/xfig/Basic/MAKE_COMPONENT @@ -5,9 +5,12 @@ label=$1 else label=$2 fi -echo Making new component $1 with label $label - -sed "s/TEXT/$1:$label/" $1.fig - +if [ "$1" = "0" ]||[ "$1" = "1" ]; then + echo Making new component $1 with no label + sed "s/TEXT/$1/" $1.fig +else + echo Making new component $1 with label $label + sed "s/TEXT/$1:$label/" $1.fig +fi