summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a783e44..b877723 100755
--- a/Makefile
+++ b/Makefile
@@ -127,7 +127,7 @@ build_deb: tgz
cd build && tar xzf $(APPNAME)_$(shell echo ${VERSION} | cut -d '-' -f 1-2).orig.tar.gz
cp -r debian/ build/$(APPNAME)-$(VERSION)/
cd build/$(APPNAME)-$(VERSION) && debuild -us -uc
- cp build/$(APPNAME)_$(shell dpkg-parsechangelog -SVersion)_*.deb dist/
+ cp build/$(APPNAME)_$(shell echo ${VERSION} | cut -d '-' -f 1-2)_*.deb dist/
git checkout -- debian/changelog
# -----------------------------------------------------------------------------