summaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-10-20 14:36:44 +0000
committerAlan Conway <aconway@apache.org>2006-10-20 14:36:44 +0000
commitb950359f7615074b25d5bdcd3803453f4041f082 (patch)
tree4ac08e7d529f9305a53253face1a60e44f6d4bee /java
parent50deb4cb54f6cd39d18a996db830f13df9f90b23 (diff)
downloadqpid-python-b950359f7615074b25d5bdcd3803453f4041f082.tar.gz
Moved cygwin test to top, causing problems on Unix.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@466127 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java')
-rw-r--r--java/common/bin/qpid-run11
1 files changed, 6 insertions, 5 deletions
diff --git a/java/common/bin/qpid-run b/java/common/bin/qpid-run
index 31ae4ff5c2..7db32acebb 100644
--- a/java/common/bin/qpid-run
+++ b/java/common/bin/qpid-run
@@ -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
@@ -94,11 +100,6 @@ usage() {
sed "s/^--$//"
}
-cygwin=false
-if [[ "$(uname -a | fgrep Cygwin)" != "" ]]; then
- cygwin=true
-fi
-
export EXTERNAL_CLASSPATH=$CLASSPATH
unset CLASSPATH