DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33315>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33315

           Summary: cygwin detection in build.sh is not optimal
           Product: Cocoon 2
           Version: Current SVN 2.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: general components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: [EMAIL PROTECTED]


in build.sh cygwin detection is incorrect:

if [ "$TERM" = "cygwin" ] ; then

this breaks if I ssh in from a windows box using cygwin to a unix box, where i
try to run build.sh. my $TERM is indeed "cygwin", but I am ssh'ed into a unix 
box.

the line below should work in all cases:

if [ "`uname -o | tr [A-Z] [a-z]`" = "cygwin" ] ; then

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to