Skip to content

Commit

Permalink
Use zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacMarovitz committed Sep 23, 2024
1 parent 01c5a27 commit e19c36f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/dylib_packer.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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/"

0 comments on commit e19c36f

Please sign in to comment.