mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST
This commit is contained in:
committed by
Toshio Kuratomi
parent
ed51380c2c
commit
cde36b883c
@@ -6,7 +6,7 @@ DEB_PYTHON2_MODULE_PACKAGES=ansible
|
||||
include /usr/share/cdbs/1/rules/debhelper.mk
|
||||
include /usr/share/cdbs/1/class/python-distutils.mk
|
||||
|
||||
ifeq ($(DEB_DIST), trusty)
|
||||
ifeq ($(shell lsb_release -cs), trusty)
|
||||
export ANSIBLE_CRYPTO_BACKEND = pycrypto
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user