Skip to content

Commit

Permalink
glib: Remove inreplace @@HOMEBREW_PREFIX@@ in favour of built in func…
Browse files Browse the repository at this point in the history
…tionality

This is a follow up to #195569 and
Homebrew/brew#18613. The latter has been available since 4.4.3.
  • Loading branch information
pkryger committed Nov 1, 2024
1 parent 378e17d commit be2a8af
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Formula/g/glib.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class Glib < Formula

def install
python = "python3.13"
inreplace %w[gio/xdgmime/xdgmime.c glib/gutils.c], "@@HOMEBREW_PREFIX@@", HOMEBREW_PREFIX, audit_result: false
# Avoid the sandbox violation when an empty directory is created outside of the formula prefix.
inreplace "gio/meson.build", "install_emptydir(glib_giomodulesdir)", ""

Expand Down

0 comments on commit be2a8af

Please sign in to comment.