James Server
  1. James Server
  2. JAMES-778

exporting variables using build.sh on solaris breaks

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 2.3.1
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Solaris 10

      Description

      Building James-with-phoenix-2.3.0-src on Solaris breaks due to the Solaris 10's shell not being able to understand the export syntax of
      export VAR=VALUE
      It only understands
      VAR=VALUE && export VAR

      This breaks building James on Solaris

      1. james-build-sh.patch
        0.8 kB
        Raja Venkataraman

        Activity

        Hide
        Danny Angus added a comment -

        Closing issue fixed in released version.

        Show
        Danny Angus added a comment - Closing issue fixed in released version.
        Hide
        Norman Maurer added a comment -

        Thx for the patch

        Show
        Norman Maurer added a comment - Thx for the patch
        Hide
        Daniel Rall added a comment -

        The attached patch looks good.

        Alternately, the script could use a #! line of /bin/bash, but that seems rather gratuitous when this simple change allows support of vanilla Bourne shell.

        Show
        Daniel Rall added a comment - The attached patch looks good. Alternately, the script could use a #! line of /bin/bash, but that seems rather gratuitous when this simple change allows support of vanilla Bourne shell.
        Hide
        Raja Venkataraman added a comment -

        Attaching patch file that makes build.sh works on both Linux and Solaris.

        Show
        Raja Venkataraman added a comment - Attaching patch file that makes build.sh works on both Linux and Solaris.

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Raja Venkataraman
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development