From 8e17500fc64465dbd884dea7b869a0ad3ccad985 Mon Sep 17 00:00:00 2001 From: Elad Ben-Israel Date: Thu, 22 Nov 2018 15:18:05 +0200 Subject: [PATCH] chore(aws-s3-deployment): allow building on debian (#1234) In debian, python modules are installed under dist-packages. --- packages/@aws-cdk/aws-s3-deployment/lambda/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@aws-cdk/aws-s3-deployment/lambda/build.sh b/packages/@aws-cdk/aws-s3-deployment/lambda/build.sh index f7997d7f7836a..fe753e2aa3de8 100755 --- a/packages/@aws-cdk/aws-s3-deployment/lambda/build.sh +++ b/packages/@aws-cdk/aws-s3-deployment/lambda/build.sh @@ -28,7 +28,7 @@ cd ${staging} # Must use --prefix to because --target cannot be used on # platforms that have a default --prefix set. pip3 install --ignore-installed --prefix ${piptemp} -r ${staging}/requirements.txt -mv ${piptemp}/lib/python*/site-packages/* . +mv ${piptemp}/lib/python*/*-packages/* . # create archive zip -qr ${bundle_out} .