[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:
Anup (OpenERP) 2010-05-13 15:37:58 +05:30
parent d2ad2f4355
commit 97f5d3a781
1 changed files with 1 additions and 1 deletions

View File

@ -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