We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c852808 commit 0600c64Copy full SHA for 0600c64
utils/build-script-impl
@@ -1240,15 +1240,15 @@ if [[ ! "${SKIP_BUILD_SWIFTPM}" ]] ; then
1240
PRODUCTS=("${PRODUCTS[@]}" swiftpm)
1241
fi
1242
1243
-# Checks if a given product is enabled (i.e. part of $PRODUCS array)
+# Checks if a given product is enabled (i.e. part of $PRODUCTS array)
1244
function contains_product() {
1245
local current_product
1246
for current_product in "$PRODUCTS"; do
1247
if [[ "$current_product" == "$1" ]]; then
1248
- return 1
+ return 0
1249
1250
done
1251
- return 0
+ return 1
1252
}
1253
1254
0 commit comments