summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2019-03-19 20:37:04 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2019-03-19 20:37:04 +0100
commitdba3da56dbe046bdb881e96c61752a49b5179784 (patch)
tree9daee5041f6935e34d82a80b05599d08683ef353 /Makefile
parent60fa276c9d4bbe44c316c867d1694a7e53370d45 (diff)
[pkg] fix debian file path
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
# -----------------------------------------------------------------------------