aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim D. Smith2017-05-24 10:41:47 -0700
committerGitHub2017-05-24 10:41:47 -0700
commit8db299881915df3fd9d98f126fc2ff5449341c51 (patch)
treeca6cf9e24dbdff5be63c499778fb8daa48d828a1 /Library
parentfdd9972aa7c6267fad8c5648a203d0e24a6fdf0a (diff)
parent22d3a67b73214727bf2deed06f90799e688c6af0 (diff)
downloadbrew-8db299881915df3fd9d98f126fc2ff5449341c51.tar.bz2
Merge pull request #2598 from tdsmith/relocate-virtualenv-orig-prefix
Relocate virtualenv orig-prefix
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/keg_relocate.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/keg_relocate.rb b/Library/Homebrew/keg_relocate.rb
index a04bae7b6..be47d0c27 100644
--- a/Library/Homebrew/keg_relocate.rb
+++ b/Library/Homebrew/keg_relocate.rb
@@ -123,6 +123,7 @@ class Keg
files = Set.new path.find.reject { |pn|
next true if pn.symlink?
next true if pn.directory?
+ next false if pn.basename.to_s == "orig-prefix.txt" # for python virtualenvs
next true if Metafiles::EXTENSIONS.include?(pn.extname)
if pn.text_executable?
text_files << pn