Clarified user output about sourcing config files
Small fix for seq template
This commit is contained in:
@@ -336,8 +336,8 @@ initSeqConfig() {
|
|||||||
endReturn -o $? "Failed to create configuration"
|
endReturn -o $? "Failed to create configuration"
|
||||||
|
|
||||||
if [ $sourceAlways -eq 0 ] ; then
|
if [ $sourceAlways -eq 0 ] ; then
|
||||||
echoerr " [W] Seq configuration created from template"
|
echoerr " [W] Seq configuration created from template but not used"
|
||||||
echoerr " Please modify "$configLoc" to your needs first"
|
echoerr " Please modify "$configLoc" first and restart sequence"
|
||||||
return 1
|
return 1
|
||||||
else
|
else
|
||||||
echo " [W] Using seq configuration from template $configTemplate"
|
echo " [W] Using seq configuration from template $configTemplate"
|
||||||
@@ -646,7 +646,7 @@ createTemplate() {
|
|||||||
echo " #. \"\$CONFIG_FILE\"" >> $TEMPLATE_NAME
|
echo " #. \"\$CONFIG_FILE\"" >> $TEMPLATE_NAME
|
||||||
echo " ## or to use sequencer api:" >> $TEMPLATE_NAME
|
echo " ## or to use sequencer api:" >> $TEMPLATE_NAME
|
||||||
echo " #initSeqConfig \"\$CONFIG_FILE_NAME\" \"\$CONFIG_FILE_TEMPLATE\"" >> $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 " # CONFIG=1" >> $TEMPLATE_NAME
|
||||||
echo " #fi" >> $TEMPLATE_NAME
|
echo " #fi" >> $TEMPLATE_NAME
|
||||||
echo "}" >> $TEMPLATE_NAME
|
echo "}" >> $TEMPLATE_NAME
|
||||||
|
Reference in New Issue
Block a user