mirror of
https://github.com/erkin/ponysay.git
synced 2025-02-19 19:04:23 +01:00
missed change
This commit is contained in:
parent
1d04401b0c
commit
27562de3b3
1 changed files with 2 additions and 2 deletions
4
setup.py
4
setup.py
|
@ -139,12 +139,12 @@ class Setup():
|
||||||
self.linking = opts.opts['--linking'][0]
|
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]
|
destdir = opts.opts['---DESTDIR'][0]
|
||||||
if len(destdir) > 0:
|
if len(destdir) > 0:
|
||||||
opts.opts['--dest-dir'] = [destdir]
|
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]
|
prefix = opts.opts['---PREFIX'][0]
|
||||||
if len(prefix) > 0:
|
if len(prefix) > 0:
|
||||||
opts.opts['--prefix'] = [prefix]
|
opts.opts['--prefix'] = [prefix]
|
||||||
|
|
Loading…
Reference in a new issue