Skip to content

Commit 0c808bf

Browse files
committed
*shakes fist* ....bash!!!
1 parent 803586b commit 0c808bf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build_layers.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,9 @@ do
180180
echo "Building layer for Python ${python_version} arch=${architecture}"
181181
set +e
182182
find_and_spec_wheel ${python_version} ${architecture} "ddtrace_serverless" "serverless"
183+
FAILURE=$?
183184
set -e
184-
if [ $? != 0 ]; then
185+
if [ $FAILURE != 0 ]; then
185186
echo "Attempting layer build again with package ddtrace"
186187
find_and_spec_wheel ${python_version} ${architecture} "ddtrace" "manylinux2014"
187188
fi

0 commit comments

Comments
 (0)