Changeset 23878

Show
Ignore:
Timestamp:
09.04.2011 23:01:16 (8 years ago)
Author:
davidb
Message:

Added check for mingw as well as cygwin

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/setup.bash

    r23726 r23878  
    153153  # check for running bash under cygwin 
    154154  if test "`echo $GSDLOS | sed 's/cygwin//'`" != "$GSDLOS" ; 
     155  then 
     156    GSDLOS=windows 
     157  fi 
     158  export GSDLOS 
     159 
     160  # check for running bash under mingw 
     161  if test "`echo $GSDLOS | sed 's/mingw//'`" != "$GSDLOS" ; 
    155162  then 
    156163    GSDLOS=windows