diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/export2.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/export2.py b/tools/export2.py index 780462523..dd5816cab 100755 --- a/tools/export2.py +++ b/tools/export2.py @@ -191,7 +191,15 @@ E.G. 1.2.0pre1 is a valid version. dryrun=options.dryrun) # update osx Makefile find_and_replace('osx/Makefile', 'BCFGVER =', - 'BCFGVER = \'%s\'\n' % (version), + 'BCFGVER = %s\n' % (version), + startswith=True, + dryrun=options.dryrun) + find_and_replace('osx/Makefile', 'MAJOR =', + 'MAJOR = %s\n' % (version_info['major']), + startswith=True, + dryrun=options.dryrun) + find_and_replace('osx/Makefile', 'MINOR =', + 'MINOR = %s.%s\n' % (version_info['minor'], version_info['micro']), startswith=True, dryrun=options.dryrun) |