Clarified user output about sourcing config files

Small fix for seq template
This commit is contained in:
2020-03-13 17:43:24 +01:00
parent 3d04a5ecc3
commit 5f26548299

View File

@@ -336,8 +336,8 @@ initSeqConfig() {
endReturn -o $? "Failed to create configuration"
if [ $sourceAlways -eq 0 ] ; then
echoerr " [W] Seq configuration created from template"
echoerr " Please modify "$configLoc" to your needs first"
echoerr " [W] Seq configuration created from template but not used"
echoerr " Please modify "$configLoc" first and restart sequence"
return 1
else
echo " [W] Using seq configuration from template $configTemplate"
@@ -646,7 +646,7 @@ createTemplate() {
echo " #. \"\$CONFIG_FILE\"" >> $TEMPLATE_NAME
echo " ## or to use sequencer api:" >> $TEMPLATE_NAME
echo " #initSeqConfig \"\$CONFIG_FILE_NAME\" \"\$CONFIG_FILE_TEMPLATE\"" >> $TEMPLATE_NAME
echo " #if [ \$CONFIG -eq 0 ] ; then" >> $TEMPLATE_NAME
echo " #if [ \$? -eq 0 ] ; then" >> $TEMPLATE_NAME
echo " # CONFIG=1" >> $TEMPLATE_NAME
echo " #fi" >> $TEMPLATE_NAME
echo "}" >> $TEMPLATE_NAME