Skip to content
Snippets Groups Projects
Commit 3f27490e authored by Masahiko Sakai's avatar Masahiko Sakai
Browse files

remove unnecessary check of dm.core in mus2midHelper.

parent ec386ccb
No related branches found
No related tags found
1 merge request!1Refactoring finished.
......@@ -37,12 +37,6 @@ CommonLispCmd=$3
ProjectRoot=$4
TargetMidFile=$5
# check dm.core exists
if [ ! -f ${ProjectRoot}lsp/${DmCore} ]; then
echo "${ProjectRoot}lsp/${DmCore} not found: see README.md for preparation"
exit 1
fi
# decomposing ${TergetMidFile} into ${Head}, ${Pal}
# Supposing TargetMusFile=01-TS-3-pal1.mid,
# ${TargetMidFile%.*} represents "01-TS-3-pal1", and ${TargetMidFile##*.} does "mid"
......@@ -110,6 +104,12 @@ fi
Mus2midComLine="${Mus2midComLine} ${Head}.mus"
# check dm.core exists
if [ ! -f ${ProjectRoot}lsp/${DmCore} ]; then
echo "${ProjectRoot}lsp/${DmCore} not found: see README.md for preparation"
exit 1
fi
echo ${Mus2midComLine}
${Mus2midComLine}
......
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