axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Barker (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-4324) setenv.sh - extended shell functionality used where /bin/sh specified
Date Fri, 24 Apr 2009 05:55:30 GMT
setenv.sh - extended shell functionality used where /bin/sh specified
---------------------------------------------------------------------

                 Key: AXIS2-4324
                 URL: https://issues.apache.org/jira/browse/AXIS2-4324
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.4.1
         Environment: SunOS 5.10 Generic sun4u sparc SUNW
            Reporter: Peter Barker
            Priority: Minor


This script declares itself as #!/bin/sh, but the script uses extended functionality not present
in the /bin/sh present on this operating system.  The following patch appears to fix the problem:

--- ../../../axis2/axis2-1.4/bin/setenv.sh      2008-03-22 10:22:22.000000000 +1100
+++ setenv.sh-pbfix     2009-04-24 15:52:29.000000000 +1000
@@ -79,7 +79,8 @@
   system $COMMAND

   # Enable multi threading
-  export QIBM_MULTI_THREADED=Y
+  QIBM_MULTI_THREADED=Y
+  export QIBM_MULTI_THREADED
 fi

 # update classpath
@@ -99,9 +100,9 @@
   JAVA_ENDORSED_DIRS=`cygpath --path --windows "$JAVA_ENDORSED_DIRS"`
 fi

-export AXIS2_HOME="$AXIS2_HOME"
-export JAVA_HOME="$JAVA_HOME"
-export AXIS2_CLASSPATH="$AXIS2_CLASSPATH"
+export AXIS2_HOME
+export JAVA_HOME
+export AXIS2_CLASSPATH


 echo " Using AXIS2_HOME:   $AXIS2_HOME"


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message