Issue Details (XML | Word | Printable)

Key: JAMES-778
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Norman Maurer
Reporter: Raja Venkataraman
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
JAMES Server

exporting variables using build.sh on solaris breaks

Created: 14/Mar/07 08:02 AM   Updated: 21/Nov/07 08:31 AM
Return to search
Component/s: Build System
Affects Version/s: 2.3.0
Fix Version/s: 2.3.1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works james-build-sh.patch 2007-03-14 08:04 AM Raja Venkataraman 0.8 kB
Environment: Solaris 10

Resolution Date: 15/Mar/07 12:26 PM


 Description  « Hide
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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Raja Venkataraman added a comment - 14/Mar/07 08:04 AM
Attaching patch file that makes build.sh works on both Linux and Solaris.

Daniel Rall added a comment - 14/Mar/07 05:32 PM
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.

Norman Maurer added a comment - 15/Mar/07 12:26 PM
Thx for the patch :-)

Danny Angus added a comment - 21/Nov/07 08:31 AM
Closing issue fixed in released version.