You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2006/10/20 16:36:44 UTC

svn commit: r466127 - /incubator/qpid/trunk/qpid/java/common/bin/qpid-run

Author: aconway
Date: Fri Oct 20 07:36:44 2006
New Revision: 466127

URL: http://svn.apache.org/viewvc?view=rev&rev=466127
Log:
Moved cygwin test to top, causing problems on Unix.

Modified:
    incubator/qpid/trunk/qpid/java/common/bin/qpid-run

Modified: incubator/qpid/trunk/qpid/java/common/bin/qpid-run
URL: http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/common/bin/qpid-run?view=diff&rev=466127&r1=466126&r2=466127
==============================================================================
--- incubator/qpid/trunk/qpid/java/common/bin/qpid-run (original)
+++ incubator/qpid/trunk/qpid/java/common/bin/qpid-run Fri Oct 20 07:36:44 2006
@@ -15,6 +15,12 @@
 # limitations under the License.
 #
 
+# Test if we're running on cygwin.
+cygwin=false
+if [[ "$(uname -a | fgrep Cygwin)" != "" ]]; then
+  cygwin=true
+fi
+
 die() {
   if [[ $1 = -usage ]]; then
     shift
@@ -93,11 +99,6 @@
       sed "s/-run:\(.*\)=\*/-run:\1=<value>/" |\
       sed "s/^--$//"
 }
-
-cygwin=false
-if [[ "$(uname -a | fgrep Cygwin)" != "" ]]; then
-  cygwin=true
-fi
 
 export EXTERNAL_CLASSPATH=$CLASSPATH
 unset CLASSPATH