diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-04-25 11:16:55 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-04-25 11:16:55 -0500 |
commit | 39fed8496bd7303c85403ba0c7507172eb1d7322 (patch) | |
tree | f2c6795bb613479d3f2447b32eec5f172374f69e | |
parent | c7a2034df875624889d6a42290e0f6e5b14ff23f (diff) | |
download | bcfg2-39fed8496bd7303c85403ba0c7507172eb1d7322.tar.gz bcfg2-39fed8496bd7303c85403ba0c7507172eb1d7322.tar.bz2 bcfg2-39fed8496bd7303c85403ba0c7507172eb1d7322.zip |
export: Fix version quoting in solaris packaging
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rwxr-xr-x | tools/export.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/export.py b/tools/export.py index 5e48a3613..d32ad3a60 100755 --- a/tools/export.py +++ b/tools/export.py @@ -71,11 +71,11 @@ for line in fileinput.input('solaris/Makefile', inplace=1): 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) + 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) + 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', |