*** /tmp/jakarta-ant-1.3/src/main/org/apache/tools/ant/taskdefs/Execute.java	Fri Mar  2 13:46:37 2001
--- org/apache/tools/ant/taskdefs/Execute.java	Wed Apr 18 16:03:33 2001
***************
*** 177,183 ****
  
      private static String[] getProcEnvCommand() {
          String osname = System.getProperty("os.name").toLowerCase();
!         if ( osname.indexOf("mac os") >= 0 ) {
              // Mac
              // TODO: I have no idea how to get it, someone must fix it
              String[] cmd = null;
--- 177,190 ----
  
      private static String[] getProcEnvCommand() {
          String osname = System.getProperty("os.name").toLowerCase();
!         if ( osname.indexOf("mac os") >= 0 ) {			
! 			// Mac Operating systems fall into two categories: OS9 and OSX
! 			if ( osname.indexOf("os x") >= 0) {
! 				// OSX is basically UNIX :-)
! 				String[] cmd = {"/usr/bin/env"};
!            		return cmd;
! 			}
! 
              // Mac
              // TODO: I have no idea how to get it, someone must fix it
              String[] cmd = null;
