[FIX] In the case we want to generate the RPM package, we change the version
bzr revid: ach@tinyerp.com-20100513100758-ev8l513snmgntk4a
This commit is contained in:
parent
d2ad2f4355
commit
97f5d3a781
2
setup.py
2
setup.py
|
@ -44,7 +44,7 @@ sys.path.append(join(os.path.abspath(os.path.dirname(__file__)), "bin"))
|
||||||
|
|
||||||
execfile(join('bin', 'release.py'))
|
execfile(join('bin', 'release.py'))
|
||||||
|
|
||||||
if sys.argv[1] == 'bdist_rpm':
|
if 'bdist_rpm' in sys.argv:
|
||||||
version = version.split('-')[0]
|
version = version.split('-')[0]
|
||||||
|
|
||||||
# get python short version
|
# get python short version
|
||||||
|
|
Loading…
Reference in New Issue