summaryrefslogtreecommitdiffstats
path: root/tools/export.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-04-25 11:16:55 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-04-25 11:16:55 -0500
commit39fed8496bd7303c85403ba0c7507172eb1d7322 (patch)
treef2c6795bb613479d3f2447b32eec5f172374f69e /tools/export.py
parentc7a2034df875624889d6a42290e0f6e5b14ff23f (diff)
downloadbcfg2-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>
Diffstat (limited to 'tools/export.py')
-rwxr-xr-xtools/export.py4
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',