Skip to content

Commit

Permalink
check if non empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed Jun 16, 2024
1 parent 4f56785 commit 3a88a56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ if [ "${#PLATFORMS[@]}" -gt 1 ]; then
echo "Multi platform builds not supported yet"
exit 1
# for platform in "${PLATFORMS[@]}"; do
elif [ "${#PLATFORMS[@]}" -eq 1 ]; then
elif [ -n "$PLATFORMS" ]; then
BUILD_CMD="$BUILD_CMD --platform ${PLATFORMS[0]}"
fi

Expand Down

0 comments on commit 3a88a56

Please sign in to comment.