diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-04-25 11:16:55 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-05-21 10:37:37 -0500 |
commit | 572191b2d43b216152cdee98edc9eb03a4dd99ae (patch) | |
tree | 0ef6054947eb93fe18e9bdf727e6171be96c19bc | |
parent | bf78bcda56f3aef31df75af81663d097849d03e2 (diff) | |
download | bcfg2-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)
-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 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 |