diff options
Diffstat (limited to 'tools/export.py')
-rwxr-xr-x | tools/export.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/export.py b/tools/export.py index 83f13923b..971102290 100755 --- a/tools/export.py +++ b/tools/export.py @@ -59,6 +59,14 @@ for line in fileinput.input('solaris/Makefile', inplace=1): if line.startswith('VERS='): line = line.replace(line, 'VERS=%s-1\n' % version) sys.stdout.write(line) +for line in fileinput.input('solaris/pkginfo.bcfg2', inplace=1): + if line.startswith('VERSION='): + line = line.replace(line, 'VERSION=%s\n' % version) + sys.stdout.write(line) +for line in fileinput.input('solaris/pkginfo.bcfg2-server', inplace=1): + if line.startswith('VERSION='): + line = line.replace(line, 'VERSION=%s\n' % version) + sys.stdout.write(line) # update the version in reports for line in fileinput.input('src/lib/Server/Reports/reports/templates/base.html', inplace=1): if 'Bcfg2 Version' in line: |