Fix false logic for config detection in template

This commit is contained in:
2020-02-20 10:56:29 +01:00
parent 85c26b580b
commit f3cd19e22e

View File

@@ -9,7 +9,7 @@
VERSION_REV=10 VERSION_REV=10
VERSION_MAJOR=0 VERSION_MAJOR=0
VERSION_MINOR=1 VERSION_MINOR=2
## Start of generic script part ## Start of generic script part
@@ -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 -ne 0 ] ; then" >> $TEMPLATE_NAME echo " #if [ \$CONFIG -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