diff options
| author | Anup (OpenERP) <ach@tinyerp.com> | 2010-05-13 15:37:58 +0530 |
|---|---|---|
| committer | Anup (OpenERP) <ach@tinyerp.com> | 2010-05-13 15:37:58 +0530 |
| commit | 97f5d3a781377ecb24ac7cbc4102ea61b8429558 (patch) | |
| tree | 2933be0fb2f2692b192d65445aef82fe84940e0d /setup.py | |
| parent | d2ad2f4355965fc2bd38e9f75d2e62f38329d1bf (diff) | |
[FIX] In the case we want to generate the RPM package, we change the version
bzr revid: ach@tinyerp.com-20100513100758-ev8l513snmgntk4a
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -44,7 +44,7 @@ sys.path.append(join(os.path.abspath(os.path.dirname(__file__)), "bin")) execfile(join('bin', 'release.py')) -if sys.argv[1] == 'bdist_rpm': +if 'bdist_rpm' in sys.argv: version = version.split('-')[0] # get python short version |
