Skip to content
Snippets Groups Projects
Commit 300bd94a authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Merge branch 'fix_wolf_scripts_issue_151' into 'master'

Solve issue 151: Fix wolf scripts

See merge request mobile_robotics/wolf!184
parents a7eccee9 9073bba9
No related branches found
No related tags found
1 merge request!184Solve issue 151: Fix wolf scripts
......@@ -12,7 +12,7 @@ NC=$(tput sgr 0) # No Color
askIfGitBranch()
{
read -p "${CYAN}Do you want to create a new git branch(Y/n)? ${NC}" ANSWER
read -p "${CYAN}Do you want to create a new git branch (y/n)? ${NC}" ANSWER
DOIT=${ANSWER:-y}
OK=0
......
......@@ -92,3 +92,8 @@ if ! [[ $BASE =~ $TYPE ]] ;
then
BASE="$TYPE"_"$BASE";
fi
if ! [[ $CLASSNAME =~ .*BASE*. ]] ;
then
CLASSNAME=${CLASSNAME//Base} # Replace Base with nothing
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment