From 27562de3b3785cc2aaf3f2f7bbf8529e7c17a641 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 27 Aug 2012 21:49:58 +0200 Subject: missed change --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index ad416ba..0901e74 100755 --- a/setup.py +++ b/setup.py @@ -139,12 +139,12 @@ class Setup(): 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] -- cgit