Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-661

Swarmtool does not work on non-bash shells

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 2016.9
    • Fix Version/s: 2016.11.0
    • Component/s: swarmtool
    • Labels:
      None
    • Sprint:
      2016.11

      Description

      You use `[[` instead of `[` for invoking `test` in the shell script. That's a bashism, but since you declare `#!/bin/sh` on Ubuntu it will use `dash` which does not support this, so it fails to execute. You should replace it with `[`.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                bob.mcwhirter Bob McWhirter
                Reporter:
                FroMage Stephane Epardaud
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: