Uploaded image for project: 'WINDUP - Red Hat Application Migration Toolkit'
  1. WINDUP - Red Hat Application Migration Toolkit
  2. WINDUP-1297

bin/windup using Bash syntax causes error when run with /bin/sh

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.0.Final
    • 3.0.0.CR1
    • None
    • None

    Description

      Our bin/windup script uses Bash syntax, e.g. ADDONS_DIR=().
      But it states #!/bin/sh on the first line.
      This leads to syntax error:

      /tmp/windup/unzipped/bin/windup: 27: /tmp/windup/unzipped/bin/windup: Syntax error: "(" unexpected

      We can either use #!/bin/bash
      or not use the Bash syntax.

      Attachments

        Activity

          People

            jsightle@redhat.com Jess Sightler
            ozizka_jira Ondrej Zizka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: