From 3aedaf1d5be02c58962a3d5a7ff5d2414e19e3d0 Mon Sep 17 00:00:00 2001 From: KmolYuan Date: Thu, 10 Aug 2017 14:27:41 +0800 Subject: [PATCH] Debian packge version adjustment. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 710ddc4c8..9259fe777 100644 --- a/Makefile +++ b/Makefile @@ -67,7 +67,7 @@ else mkdir dist/temp dist/temp/DEBIAN dist/temp/usr/ dist/temp/usr/bin dist/temp/usr/share/ touch $(DEBIANCONTROL) echo 'Package: pyslvs' >> $(DEBIANCONTROL) - $(eval PYSLVS = "Version: $(shell python3 -c "import sys;from core.info.info import VERSION;sys.stdout.write('{}.{}.{}({})'.format(*VERSION))")") + $(eval PYSLVS = "Version: $(shell python3 -c "import sys;from core.info.info import VERSION;sys.stdout.write('{}.{}.{}'.format(*VERSION[:-1]))")") echo $(PYSLVS) >> $(DEBIANCONTROL) echo 'Architecture: all' >> $(DEBIANCONTROL) echo 'Description: Dimensional Synthesis of Planar Four-bar Linkages in PyQt5 GUI.' >> $(DEBIANCONTROL)