summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McMackins II <contact@mcmackins.org>2015-07-14 12:46:08 -0500
committerDavid McMackins II <contact@mcmackins.org>2015-07-14 12:46:08 -0500
commit0c5bbaeeb3485e3fc044263f958bb0555ce162fa (patch)
tree28ad17642af9a94a72d9a40e6a1bdd9861fd20f3
parent6c96f008562a1c72464f05b08fe2597a096d3381 (diff)
Fix missing version in manifest comment
-rw-r--r--jarsnap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jarsnap.py b/jarsnap.py
index c30e845..d3585ec 100644
--- a/jarsnap.py
+++ b/jarsnap.py
@@ -39,7 +39,7 @@ def make_fat_jar(jars, main_class, output_path='fat.jar'):
with open(join(work, 'META-INF', 'MANIFEST.MF'), 'w') as mf:
mf.write('Manifest-Version: 1.0\r\n'
- + 'X-Comment: {}\r\n'.format(__title__, __version__)
+ + 'X-Comment: {} {}\r\n'.format(__title__, __version__)
+ 'Main-Class: {}\r\n\r\n'.format(main_class))
out_name = make_archive(output_path, 'zip', root_dir=work)