From 3fb777a8f0131583ca623039d456c9d5e665808f Mon Sep 17 00:00:00 2001 From: Takuya ASADA Date: Mon, 1 Jun 2020 16:10:23 +0900 Subject: [PATCH] dist/debian: support version number containing '_' .deb packaging system does not support version number contains '_', it should be replacedwith '-' --- dist/debian/debian_files_gen.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/debian/debian_files_gen.py b/dist/debian/debian_files_gen.py index 5eafd5d..33785d5 100755 --- a/dist/debian/debian_files_gen.py +++ b/dist/debian/debian_files_gen.py @@ -41,7 +41,7 @@ with open('build/SCYLLA-PRODUCT-FILE') as f: product = f.read().strip() with open('build/SCYLLA-VERSION-FILE') as f: - version = f.read().strip().replace('.rc', '~rc') + version = f.read().strip().replace('.rc', '~rc').replace('_', '-') with open('build/SCYLLA-RELEASE-FILE') as f: release = f.read().strip()