Index: mttroot/mtt/bin/trans/mtt_make_menu ================================================================== --- mttroot/mtt/bin/trans/mtt_make_menu +++ mttroot/mtt/bin/trans/mtt_make_menu @@ -10,11 +10,11 @@ #MTT blurb title=`mtt --version` #Collect all systems (inc dir name) -dirname=`basename $PWD` +dirname="basename `pwd`" systems=`echo *_abg.fig | sed 's/\([a-zA-Z0-9]*\)_abg.fig/\1/g'` dirname_in_systems=`echo $systems | grep -c $dirname` if [ "$dirname_in_systems" = "0" ]; then systems="$systems $dirname" fi @@ -83,14 +83,16 @@ # Examples menu cat <