summaryrefslogtreecommitdiffstats
path: root/tools
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-05-21 10:37:37 -0500
commit572191b2d43b216152cdee98edc9eb03a4dd99ae (patch)
tree0ef6054947eb93fe18e9bdf727e6171be96c19bc /tools
parentbf78bcda56f3aef31df75af81663d097849d03e2 (diff)
downloadbcfg2-572191b2d43b216152cdee98edc9eb03a4dd99ae.tar.gz
bcfg2-572191b2d43b216152cdee98edc9eb03a4dd99ae.tar.bz2
bcfg2-572191b2d43b216152cdee98edc9eb03a4dd99ae.zip
export: Fix version quoting in solaris packaging
Signed-off-by: Sol Jerome <sol.jerome@gmail.com> (cherry picked from commit 39fed8496bd7303c85403ba0c7507172eb1d7322)
Diffstat (limited to 'tools')
-rwxr-xr-xtools/export.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/export.py b/tools/export.py
index 05693dd73..cbdb2aad9 100755
--- a/tools/export.py
+++ b/tools/export.py
@@ -61,11 +61,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)
# tag the release