diff --git a/wolf_scripts/generic_func/user_menu.sh b/wolf_scripts/generic_func/user_menu.sh index c472afa3e9f0fead8818071dc6167cc402209d55..f873d755b7fcbcd8ede51d52af06d0ceefc22dda 100755 --- a/wolf_scripts/generic_func/user_menu.sh +++ b/wolf_scripts/generic_func/user_menu.sh @@ -92,3 +92,8 @@ if ! [[ $BASE =~ $TYPE ]] ; then BASE="$TYPE"_"$BASE"; fi + +if ! [[ $CLASSNAME =~ .*BASE*. ]] ; +then + CLASSNAME=${CLASSNAME//Base} # Replace Base with nothing +fi