Skip to content
Snippets Groups Projects
Commit ee8547e6 authored by Franck Dary's avatar Franck Dary
Browse files

Training now saves the content of data folder to ensure compatibility

parent 49fe7283
No related branches found
No related tags found
No related merge requests found
......@@ -228,6 +228,7 @@ macaon_decode --lang " + ProgramParameters::lang + " --tm machine.tm --bd test.
if (system(("rm -r " + ProgramParameters::expPath + " 2> /dev/null").c_str())){}
if (system(("mkdir " + ProgramParameters::expPath).c_str())){}
if (system(("cp -r " + ProgramParameters::newTemplatePath + "* " + ProgramParameters::expPath + ".").c_str())){}
if (system(("cp -r " + ProgramParameters::newTemplatePath + "../data/ " + ProgramParameters::expPath + ".").c_str())){}
if (system(("echo \'" + decode + "\' > " + ProgramParameters::expPath + "decode.sh").c_str())){}
if (system(("chmod +x " + ProgramParameters::expPath + "decode.sh").c_str())){}
if (system(("ln -f -s " + ProgramParameters::expPath + "decode.sh " + ProgramParameters::langPath + "bin/maca_tm_" + ProgramParameters::expName).c_str())){}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment