Changeset 74bdc4a for wscript


Ignore:
Timestamp:
Dec 2, 2013, 3:49:05 AM (11 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
ca45e58
Parents:
83d2948
Message:

wscript: allow - in feature name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r83d2948 r74bdc4a  
    3737      help_disable_str = 'do not ' + help_str
    3838  ctx.add_option('--enable-' + name, action = 'store_true', default = default,
    39           dest = 'enable_' + name,
     39          dest = 'enable_' + name.replace('-','_'),
    4040          help = help_str)
    4141  ctx.add_option('--disable-' + name, action = 'store_false',
    4242          #default = default,
    43           dest = 'enable_' + name,
     43          dest = 'enable_' + name.replace('-','_'),
    4444          help = help_disable_str )
    4545
Note: See TracChangeset for help on using the changeset viewer.