Skip to content

Commit 632beaa

Browse files
authored
Update setup.sh
1 parent 5258281 commit 632beaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/code/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ autoreconf -vfi
4545
#copy library to layer folder and replace libzbar.so path inside zbar_library.py to correctly load the library. Lambda layers (.zips) will be uploaded to S3
4646
cp zbar/zbar/.libs/libzbar.so.0.3.0 $LAYER_FOLDER_TREE/pyzbar/libzbar.so
4747
sed -i "s/find_library('zbar')/('\/opt\/python\/lib\/python3.9\/site-packages\/pyzbar\/libzbar.so')/g" $LAYER_FOLDER_TREE/pyzbar/zbar_library.py
48-
zip -r barcode_layer.zip python && rm -rf python && rm -rf zbar
48+
zip -r barcode_layer_py39.zip python && rm -rf python && rm -rf zbar
4949

5050
#package lambda function code in a .zip
5151
zip -r lambda_function.zip barcode-qr-decoder-lambda/src/code/lambda_function.py

0 commit comments

Comments
 (0)