Katello/katello — pull request #887 by lzap (2012-10-22 14:18:03+00:00)
Title: 868916 - katello-upgrade bash array fix

Adressing:

bash -x /usr/share/katello/install/upgrade-scripts/default/0004_migrate_katello_db.sh
+ '[' -f /etc/sysconfig/katello ']'
+ . /etc/sysconfig/katello
++ KATELLO_PREFIX=/katello
++ KATELLO_JOB_WORKERS=1
+ KATELLO_HOME=/usr/share/katello
+ KATELLO_ENV=production
+ KATELLO_PREFIX=/katello
+ SERVICES = '[tomcat6,' elasticsearch, qpidd, 'mongod]'
/usr/share/katello/install/upgrade-scripts/default/0004_migrate_katello_db.sh: line 14: SERVICES: command not found

I wonder if this was ever working in bash:

SERVICES = '[tomcat6,' elasticsearch, qpidd, 'mongod]'

my bash does not accept even this:

SERVICES = '[tomcat6,' elasticsearch, qpidd, 'mongod]'

changed to standard array initialization.