mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
LP-185 fix debian dist detection in packaging
This commit is contained in:
parent
1f0d6f41bb
commit
84fbdf0802
@ -1,7 +1,4 @@
|
||||
# Get some info about the distro
|
||||
-include /etc/lsb-release
|
||||
|
||||
DEB_DIST := $(DISTRIB_CODENAME)
|
||||
DEB_DIST := $(shell lsb_release -c -s)
|
||||
# Instead of RELEASE-15.01-RC1 debian wants 15.01~RC1
|
||||
UPSTREAM_VER := $(subst -,~,$(subst RELEASE-,,$(PACKAGE_LBL)))
|
||||
ifeq ($(DEB_DIST), unstable) # This should be set manually for a submission to Debian or similar
|
||||
|
Loading…
x
Reference in New Issue
Block a user