From 3751446b0580b8ad5f534323c4ce02c21705f0ed Mon Sep 17 00:00:00 2001 From: Roger Leigh Date: Tue, 3 Jul 2012 13:33:26 +0100 Subject: [PATCH] build.py: Unset CLASSPATH in environment to avoid build failure --- build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.py b/build.py index 9037cd9e78e..15c07e8823b 100755 --- a/build.py +++ b/build.py @@ -116,6 +116,10 @@ def choose_omero_version(): args = list(sys.argv) args.pop(0) + # Unset CLASSPATH, since this breaks the build + if os.environ.get('CLASSPATH'): + del os.environ['CLASSPATH'] + try: if len(args) > 0 and args[0] == "-perf": args.pop(0)