From e19c36fd5a07c72fd1637b411b25caf16f0a57ff Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Mon, 23 Sep 2024 11:01:55 +0200 Subject: [PATCH] Use zsh --- .github/dylib_packer.zsh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/dylib_packer.zsh b/.github/dylib_packer.zsh index 8e82e1e5b5d9..fc97ea859f1f 100644 --- a/.github/dylib_packer.zsh +++ b/.github/dylib_packer.zsh @@ -150,11 +150,9 @@ update_dylib_paths() { done } -export -f update_dylib_paths - # Update dynamic library paths for copied libraries -find Libraries/Wine/lib -maxdepth 1 -type f -name '*.dylib' -exec bash -c 'update_dylib_paths "$0" "@loader_path/"' {} \; -find Libraries/Wine/lib/gstreamer-1.0 -maxdepth 1 -type f -name '*.dylib' -exec bash -c 'update_dylib_paths "$0" "@loader_path/../"' {} \; +find Libraries/Wine/lib -maxdepth 1 -type f -name '*.dylib' -exec zsh -c 'update_dylib_paths "$0" "@loader_path/"' {} \; +find Libraries/Wine/lib/gstreamer-1.0 -maxdepth 1 -type f -name '*.dylib' -exec zsh -c 'update_dylib_paths "$0" "@loader_path/../"' {} \; # Update specific GStreamer shared object update_dylib_paths Libraries/Wine/lib/wine/x86_64-unix/winegstreamer.so "@rpath/" \ No newline at end of file