You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/01/31 19:50:54 UTC

DO NOT REPLY [Bug 33315] New: - cygwin detection in build.sh is not optimal

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: cocoon@nezzwerk.com


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.