summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McMackins II <contact@mcmackins.org>2015-07-14 12:45:15 -0500
committerDavid McMackins II <contact@mcmackins.org>2015-07-14 12:45:15 -0500
commit6c96f008562a1c72464f05b08fe2597a096d3381 (patch)
treec62d8065ba9f2b6e0345a3c7e889f05e6c702899
parent7e0d51bbc19133933e358a73c4dd151b0ca621cd (diff)
Fix missing newline in manifest
-rw-r--r--jarsnap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jarsnap.py b/jarsnap.py
index d7059b6..c30e845 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: {}'.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)