From 5f26548299b0a8b2b707021b41db85eb259cc4f3 Mon Sep 17 00:00:00 2001 From: Martin Winkler Date: Fri, 13 Mar 2020 17:43:24 +0100 Subject: [PATCH] Clarified user output about sourcing config files Small fix for seq template --- sequencer/sequencer.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sequencer/sequencer.sh b/sequencer/sequencer.sh index 3482a15..e11b7f5 100755 --- a/sequencer/sequencer.sh +++ b/sequencer/sequencer.sh @@ -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