Skip to content

Commit

Permalink
missed change
Browse files Browse the repository at this point in the history
  • Loading branch information
maandree committed Aug 27, 2012
1 parent 1d04401 commit 27562de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ def __init__(self):
self.linking = opts.opts['--linking'][0]


if (opts.opts['---DESTDIR'] is not None) and (opts.opts['--dest-dir'] is not None):
if (opts.opts['---DESTDIR'] is not None) and (opts.opts['--dest-dir'] is None):
destdir = opts.opts['---DESTDIR'][0]
if len(destdir) > 0:
opts.opts['--dest-dir'] = [destdir]

if (opts.opts['---PREFIX'] is not None) and (opts.opts['--prefix'] is not None):
if (opts.opts['---PREFIX'] is not None) and (opts.opts['--prefix'] is None):
prefix = opts.opts['---PREFIX'][0]
if len(prefix) > 0:
opts.opts['--prefix'] = [prefix]
Expand Down

0 comments on commit 27562de

Please sign in to comment.