Skip to content
Snippets Groups Projects
Commit 7e35bc85 authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Chnaged the script to substitute '_' for '-' in the project name.

parent f94fffac
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,8 @@ rm tmp2.txt
rm ReadMe_template.txt
#Set the project name on the CMakeLists.txt script file
sed 's/project_name/'$NAME'/g' <CMakeLists_template.txt >./trunk/CMakeLists.txt
NEW_NAME=$(echo $NAME | sed 's/_/-/g')
sed 's/project_name/'$NEW_NAME'/g' <CMakeLists_template.txt >./trunk/CMakeLists.txt
rm CMakeLists_template.txt
#Set the project name on the doxygen_project_name.dox sript file
......
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