Skip to content

Commit

Permalink
build.py: Unset CLASSPATH in environment to avoid build failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Roger Leigh authored and joshmoore committed Jul 3, 2012
1 parent 8641d20 commit 3751446
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3751446

Please sign in to comment.