midnight-commander: use Superenv.shims_path

Added in https://github.com/Homebrew/brew/pull/11987.
master
Mike McQuaid 2021-09-08 13:56:40 +01:00
parent e5c7917d66
commit c3bf4ccb9a
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ class MidnightCommander < Formula
system "./configure", *args
system "make", "install"
inreplace share/"mc/syntax/Syntax", HOMEBREW_SHIMS_PATH/"mac/super", "/usr/bin" if OS.mac?
inreplace share/"mc/syntax/Syntax", Superenv.shims_path, "/usr/bin" if OS.mac?
end
test do