Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST

This commit is contained in:
Graham Mainwaring
2017-07-12 17:28:56 -04:00
committed by Toshio Kuratomi
parent ed51380c2c
commit cde36b883c
2 changed files with 2 additions and 2 deletions

View File

@@ -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