Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
62782e9b by Alexandre Janniaux at 2024-08-25T06:18:10+00:00
extras: apple: fix copy_plugins de-duplication

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.

- - - - -


1 changed file:

- extras/package/apple/copy_plugins.sh


Changes:

=====================================
extras/package/apple/copy_plugins.sh
=====================================
@@ -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"



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/62782e9b7cb580bbeee3e7ea182e5e5664b27d89

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/62782e9b7cb580bbeee3e7ea182e5e5664b27d89
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to