Skip to content

Commit

Permalink
extras: apple: fix copy_plugins de-duplication
Browse files Browse the repository at this point in the history
The de-duplication was checking whether $plugin was in the PLUGINS array
already, but plugins like ts_plugin would match mux_ts_plugin and would
not be copied to the final application.
  • Loading branch information
alexandre-janniaux authored and fkuehne committed Aug 25, 2024
1 parent 7321f3b commit 62782e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/package/apple/copy_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function generate_info_plist()
PLUGINS=()
for arch in ${ARCHS}; do
while read -r plugin; do
if [[ ! "${PLUGINS[@]}" =~ "${plugin}" ]]; then
if [[ ! " ${PLUGINS[*]} " =~ "[[:space:]]${plugin}[[:space:]]" ]]; then
PLUGINS+=( "${plugin}" )
fi
done < "${BUILT_PRODUCTS_DIR}/build-${PLATFORM_NAME}-${arch}/build/modules/vlc_modules_list"
Expand Down

0 comments on commit 62782e9

Please sign in to comment.