Skip to content

Commit

Permalink
chore(aws-s3-deployment): allow building on debian (#1234)
Browse files Browse the repository at this point in the history
In debian, python modules are installed under dist-packages.
  • Loading branch information
Elad Ben-Israel authored Nov 22, 2018
1 parent b1f42f9 commit 8e17500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@aws-cdk/aws-s3-deployment/lambda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} .
Expand Down

0 comments on commit 8e17500

Please sign in to comment.