mirror of
https://github.com/gosticks/brew.git
synced 2026-08-16 22:50:18 +00:00
Use literal "python"
This commit is contained in:
@@ -227,7 +227,7 @@ module Language
|
||||
|
||||
Pathname.glob(@venv_root/"lib/python*/orig-prefix.txt").each do |prefix_file|
|
||||
prefix_path = prefix_file.read
|
||||
prefix_path.sub! %r{^#{HOMEBREW_CELLAR}/#{python}/[^/]+}, Formula["python"].opt_prefix
|
||||
prefix_path.sub! %r{^#{HOMEBREW_CELLAR}/python/[^/]+}, Formula["python"].opt_prefix
|
||||
prefix_file.atomic_write prefix_path
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user