diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-08-27 21:49:58 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-08-27 21:49:58 +0200 |
commit | 27562de3b3785cc2aaf3f2f7bbf8529e7c17a641 (patch) | |
tree | 5a74e7fdab96daf6e82f88265c1e22ab7573b382 | |
parent | 1d04401b0c755adb4691fff2274e9571e64f6d14 (diff) | |
download | ponysay-27562de3b3785cc2aaf3f2f7bbf8529e7c17a641.tar.gz ponysay-27562de3b3785cc2aaf3f2f7bbf8529e7c17a641.tar.bz2 ponysay-27562de3b3785cc2aaf3f2f7bbf8529e7c17a641.zip |
missed change
-rwxr-xr-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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] |