Synapse
  1. Synapse
  2. SYNAPSE-729

synapse-config-migrator.sh not working on Ubuntu, unexpected operator

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Deployment
    • Labels:
      None
    • Environment:
      ubuntu 10.04, sun-jdk 6

      Description

      Running the synapse-config-migrator.sh tool gives the follwoing error:[: 125:

      synapse.xml: unexpected operator
      [FATAL] Location of the configuration to be migrated has not been provided.

      Use -h option for help

        Activity

        Hide
        Niek Palm added a comment -

        problem can be solved by replacing lines as follow in synapse-config-migrator.sh

        original line (111): if [ ! $1 == '' ]; then
        new line: if [ ! $1 = '' ]; then

        Show
        Niek Palm added a comment - problem can be solved by replacing lines as follow in synapse-config-migrator.sh original line (111): if [ ! $1 == '' ]; then new line: if [ ! $1 = '' ]; then
        Hide
        Niek Palm added a comment -

        Fixed version

        Show
        Niek Palm added a comment - Fixed version

          People

          • Assignee:
            Heshan Suriyaarachchi
            Reporter:
            Niek Palm
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development